migurski / Dymo

Map label placer with simulated annealing.
148 stars 17 forks source link

store also face_name and face_style columns #34

Open nvkelso opened 12 years ago

nvkelso commented 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