Hi,<br><br>I made some testings and here are the first results.<br><br>First we have to start rkward as said above with <br><br>LC_ALL=el_GR.ISO-8859-7 rkward<br><br>Then we have to declare some fonts eg<br><br>kerkis <- X11Font("-aegean-*-*-*-*-*-*-*-*-*-*-*-*-*")
<br>X11Fonts(kerkis=kerkis)<br><br>To plot we have to declare using<br><br>par(famliy="kerkis")<br><br>Plots can be copied to output (meaning in png). I can not "print" the graph to ps or pdf, because it says that font family does not exists, even if I have already declared, because it does not have an option family. Declaring families for ps and pdf is done like this
<br><br>kerkis <- Type1Font("Kerkis", <br>c("/usr/share/fonts/X11/Type1/kerkis/Kerkis.afm",<br>"/usr/share/fonts/X11/Type1/kerkis/Kerkis-Bold.afm",<br>"/usr/share/fonts/X11/Type1/kerkis/Kerkis-
BoldItalic.afm",<br>"/usr/share/fonts/X11/Type1/kerkis/Kerkis-Italic.afm"))<br>postscriptFonts(kerkis=kerkis)<br>pdfFonts(kerkis=kerkis)<br><br>according to <a href="http://cran.r-project.org/doc/Rnews/Rnews_2006-2.pdf">
Paul Murrell and Brian Ripley. Non-standard fonts in PostScript and PDF graphics. R News, 6(2):41-47, May 2006.</a> So functions postscript and pdf can be used.<br><br>Thus generally rkward can be used as an IDE to R.<br>
<br>Problem is with plugins where the par(family="kerkis") must be set. <br><br>By default R can plot with three types of fonts, sans (Helvetica), serif (Times) and mono (Courier), according to <a href="http://cran.r-project.org/doc/Rnews/Rnews_2006-2.pdf">
Paul Murrell and Brian Ripley. Non-standard fonts in PostScript and PDF graphics. R News, 6(2):41-47, May 2006. </a><a href="http://cran.r-project.org/doc/Rnews/Rnews_2006-2.pdf"></a>Should we give the user a plot option for all plots to choose with what fonts to plot?
<br><br>Another problem I found is that output window is set to (utf8) enconding and cannot display the iso88597 results right. If I open rk_out.html with firefox and set enconding to iso88597 it is displayed properly (see the attached rk_out.html). Is there a way to give a choice to the user to select the enconding view? Does the output window uses konqueror to show the output?
<br><br>I think that the above will be useful to users with other languages with weird fonts like cyrrilic.<br><br>What is your opinion on  the above?<br><br>I attach a sample file with some results.<br><br>Regards,<br>Ilias
<br><br><br>