You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mapnik currently supports SVG/PDF/PS output through the Cairo rendering backend.
Cairo's pdf surface supports embedding true fonts in the output, but the svg surface does not yet support this is included as glyphs (the characters get drawn as a bunch of vectors/lines).
Additionally, even with PDF output, text halos are not true fonts, and get vectorized like SVG.
This limitation is two part: 1) in the case of line placement mapnik passes each character separately to cairo, and 2) SVG output in Cairo is limited to glyphs: https://bugs.freedesktop.org/show_bug.cgi?id=38516. Frequently SVG and PDF are export from the OSM Export tab with the intention of later editing in Inkscape or Illustrator - to target paper/printed maps. Text labels that are true fonts, and can be selected as groups (rather than individual characters), is necessary to make further tweaking possible.
This ticket is meant to flag and explain this issue. Two solutions are possible:
Patch the svg surface of Cairo (potential short term option):
Mapnik currently supports SVG/PDF/PS output through the Cairo rendering backend.
Cairo's pdf surface supports embedding true fonts in the output, but the svg surface does not yet support this is included as glyphs (the characters get drawn as a bunch of vectors/lines).
Additionally, even with PDF output, text halos are not true fonts, and get vectorized like SVG.
This limitation is two part: 1) in the case of line placement mapnik passes each character separately to cairo, and 2) SVG output in Cairo is limited to glyphs: https://bugs.freedesktop.org/show_bug.cgi?id=38516. Frequently SVG and PDF are export from the OSM Export tab with the intention of later editing in Inkscape or Illustrator - to target paper/printed maps. Text labels that are true fonts, and can be selected as groups (rather than individual characters), is necessary to make further tweaking possible.
This ticket is meant to flag and explain this issue. Two solutions are possible:
http://cgit.freedesktop.org/cairo/tree/src/cairo-svg-surface.c
The text was updated successfully, but these errors were encountered: