[R] problem with german fonts (gnu-emacs 21.2.1, ess-5.1.21, w95)
Peter Malewski
malewski.peter at mh-hannover.de
Tue Jul 16 19:12:16 CEST 2002
I have a little problem, I cannot solve (at least reasonable fast)
I use gnu-emacs 21.2.1 with r-1.5.1 on windows 95. In recent versions
I changed "process-coding-system-alist" (C-x[REt]p) to "latin-1". Then I was
able to plot german "äüöß" etc(rgui does make this correct).
With the new R version this does not work any
more. I tried to use some other codings systems (iso-latin-1, etc.) and also
tried
postscript("c:/temp/temp.ps",encdoding="ISOLatin1.enc")
in combination with some coding systems. Nothing work:
> postscript("c:/temp/temp.ps",encoding="ISOLatin1.enc")
> plot(1,1);text(1,1,"ÄÖÜ")#latin 1 --no warning wrong result
> plot(1,1);text(1,1,"ÄÖÜ")#iso-latin-1 -no w.w.r.
> plot(1,1);text(1,1,"ÄÖÜ")#dos
Warning messages:
1: font width unknown for character 129
2: font width unknown for character 129
3: font width unknown for character 129
4: font metrics unknown for character 129
5: font metrics unknown for character 129
6: font metrics unknown for character 129
7: font width unknown for character 129
8: font width unknown for character 129
9: font width unknown for character 129
> plot(1,1);text(1,1,"ÄÖÜ")#emacs-mule
Warning messages:
1: font width unknown for character 129
2: font width unknown for character 129
3: font width unknown for character 129
4: font metrics unknown for character 129
5: font metrics unknown for character 129
6: font metrics unknown for character 129
7: font width unknown for character 129
8: font width unknown for character 129
9: font width unknown for character 129
> dev.off()
null device
1
...all this produce wrong fonts. I had the same problem recently
at home on debian-stable. Does anybody has a solution?
Peter
--
P.Malewski, Limmerstr.47, 30451 Hannover, 0511-2135008
At work: http://www.MH-Hannover.de 0511 532 3194 / Fax: 0511 532 3190,
P.Malewski at tu-bs.de, peter.malewski at gmx.de, malewski.peter at mh-hannover.de.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list