geoblocks / mapfishprint

Print OL maps with Mapfish print
https://geoblocks.github.io/mapfishprint/docs/index.html
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Parse FontFamily Correctly #33

Closed ismailsunni closed 5 months ago

ismailsunni commented 6 months ago

Currently, the OpenLayers's font family is taken as it is (see here). While on MFP, it needs fontWeight, fontSize, and fontFamily separately.

Based on the documentation here, the font on OpenLayers is defined as CSS font. So we need to parse it correctly.

gberaudo commented 5 months ago

Fixed in #34 .