[GRASSLIST:3391] Re: german umlauts with ps.map

Radim Blazek blazek at itc.it
Tue Mar 26 10:49:39 EST 2002


On Tuesday 26 March 2002 11:32 am, Andreas Lange wrote:
> Hi,
>
> i have a problem generating ps and pdf files with ps.map that contain
> german umlauts (äüöß).
> I am not shure that it is a GRASS problem.
> If i put the umlauts in the ps.map file, the umlauts are in the ps file
> (which is a human readable printer language). But they are not displayed
> with ghostview or xpdf or Acrobat Reader. I tested on Linux and W2K.
>
> I have no such problems with xfig, which generates ps/pdf output with
> fig2dev. The ps file from fig2dev has a long preamble, which redefines
> fonts and encondings. (/isovec [...], /Helvetica-Bold
> /Helvetica-Bold-iso isovec ReEncode, and the umlauts are encoded in the
> text with \374 etc.).
>
> I am no Postscript specialist. But i need a solution and am willing to
> delve into the details of ps.map in GRASS.
>
> Andreas

The name of font you use for ps.map labels, must be defined for interpreter 
and font must contain characters you need.
for example: 

text 10% 10% popis
 font TimesNewRoman
 size 10
end

I dont know if it is correct, but I define the font in 
/usr/share/ghostscript/x.xx/lib/Fontmap:
/TimesNewRoman                         (mypath/myfont.pfb)     ;  


Radim



More information about the grass-user mailing list