Peter Malewski
2002-Jul-16 17:12 UTC
[R] problem with german fonts (gnu-emacs 21.2.1, ess-5.1.21, w95)
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,"???")#dosWarning 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-muleWarning 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._