Open nvkelso opened 12 years ago
Now we store font_file which is a relative path to the TTF or OpenType font.
For Mapnik2 and QGIS, we should also store the actual font's face name and style.
That would seem as simple as:
Arial
instead of
../fonts/Arial.ttf
but it should really be taken from the name that is stored inside that TTF (or OpenType) font file, in this case:
For QGIS
face_name:Arial face_style:Regular
For Mapnik2:
font_name:Arial Regular
Now we store font_file which is a relative path to the TTF or OpenType font.
For Mapnik2 and QGIS, we should also store the actual font's face name and style.
That would seem as simple as:
Arial
instead of
../fonts/Arial.ttf
but it should really be taken from the name that is stored inside that TTF (or OpenType) font file, in this case:
For QGIS
face_name:Arial face_style:Regular
For Mapnik2:
font_name:Arial Regular