[Rd] pdf device problem (PR#10995)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Mar 19 16:27:12 CET 2008
On Wed, 19 Mar 2008, prokaj at cs.elte.hu wrote:
> 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<-"-|ő|-|Ő|-|ű|-|Ű|-"
And what is that is a reproducible form, in what locale?
> 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.
What viewer are you using?
Hint: Acrobat does not use the specified fonts unless embedded -- see ?pdf
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list