From prokaj at cs.elte.hu  Wed Mar 19 15:50:04 2008
From: prokaj at cs.elte.hu (prokaj at cs.elte.hu)
Date: Wed, 19 Mar 2008 15:50:04 +0100 (CET)
Subject: [Rd] pdf device problem (PR#10995)
Message-ID: <20080319145004.72996282EFF6@mail.pubhealth.ku.dk>

Full_Name: Vilmos Prokaj
Version: 2.6.2
OS: windows
Submission from: (NULL) (157.181.227.218)


I dont know wether my problem is specific to R or not. Using the pdf and
postscript device I realized that the spacing around  some accented letter
letter is not correct.
The same problem does not occur with the eps device. For testing I have used the
following simple code.

str<-"-|&#337;|-|&#336;|-|&#369;|-|&#368;|-"
pdf()
plot(0:1,0:1,main=str,sub=str,xlab=str,ylab=str)
text(0.5,0.5,str)
dev.off()


postscript()
plot(0:1,0:1,main=str,sub=str,xlab=str,ylab=str)
text(0.5,0.5,str)
dev.off()

Here str contains some hungarian umlaut. The result in the case of pdf device
looks
like as if the letters were crossing with a vertical lines. So my suspect is,
that somethings is worng in the font metrics files.

Vilmos Prokaj



[Rd] pdf device problem (PR#10995)
prokaj at cs.elte.hu