-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add several utilities for handling font-based mark symbolizers
This is using regexp a lot since we have to parse string values in both directions: * when reading a Geostyler symbolizer `wellKnownName` property (syntax being `ttf://Font name #char code`) * when reading an OL style object, where the font name and symbol size are both stored in the `font` property of the style Note that when generating an OL text style for a mark symbolizer, a fake font called `geostyler-mark-symbolizer` will be appended at the end of the `font` property of the style; this has no impact on the rendering and is used to determine whether the text style was created for a Mark symbolizer or a Text symbolizer.
- Loading branch information
Showing
2 changed files
with
213 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters