rundel / carto-generator

C++ Parser for the Carto stylesheet language
15 stars 1 forks source link

use XML 'font-directory' parameter and bundle fonts #4

Closed springmeyer closed 13 years ago

springmeyer commented 13 years ago

for test data is will likely be easiest to just bundle any font files needed to avoid having to pass the fonts directory as a compile option. Then you can use a relative path to the fonts beside the map using the 'font-directory' option. This could also be a nice workaround since currently font registration is broken - it appears that only input-plugins path is passed in the DEFINED (my fault from earlier patch against the parser) and not the base path.

rundel commented 13 years ago

Fixed, this is definitely a more elegant solution than guessing at the font locations.