[mapserver-users] problem using some fonts on pdf output

José María Michia jose.maria.michia at gmail.com
Fri Dec 12 04:03:46 EST 2008


Hi all.

I have a mapfile, with some layers, with labels. I wish to use two
differents fonts, "arial" and "times". I have the two fonts as tff.
All work fine when I use shp2img utility program for make PNG files.
But, when I change output format to PDF, the text that must be in
times font, appears in other font (a Sans variant). I've opened the
PDF in Acroread and Inkscape, with same results.

I'm using:

Linux Gentoo
Mapserver 5.2.1 from sources

"Sans" is nice font, and I happy with the map produced, but I wish to
know what happens. (I need "PDF files", and not "PNG files", because
the final maps are hardcopy maps).

Thanks for any advice.

Saludos
José María


More information about the mapserver-users mailing list