pdf output issues: labels garbled and not buffered, lines "broken"

Maciej Sieczka tutey at O2.PL
Thu Oct 4 16:56:11 EDT 2007


Umberto Nicoletti wrote:
>> The point of my post is that PDF output seems broken -
>> national characters in labels are garbled, labels are
>> not buffered, vector lines disjoined. Is this a bug, a
>> feature or my error?

> Probably a bug ;-). There has been considerable effort in support
> national characters in mapserver lately, although it might not have
> been ported back to the pdf output writer.
> 
> Please check that the environment (LANG, LC_*) used by shp2img
> reflects *exactly* the encoding used to create the dbf/shp files.
> I.e.: if you created the shp files in UTF-8 and then have the
> ISO8859-? encoding, when rendering with shp2img it is quite possible
> that national chars become mangled.

The DBF comming with SHP is UTF-8, and all my locale is
pl_PL.UTF-8.

Maciek



More information about the mapserver-users mailing list