[RkWard-devel] RKWard and other encondings
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Sun Feb 18 15:54:44 UTC 2007
On Friday 16 February 2007 07:43, you wrote:
> This seems to me really weird, because I did not remove any fonts, and
> everything doing to R it is only for one session. Starting a new clean
> session I still have the problem, which seems to have a logic.
Ah, sorry, I didn't read well. acutally I'm seeing the same thing as you. For
the record:
# set up
par(family="sans")
z<-1:10
barplot(z, main="Title", sub="subtitle")
# works
dev.print(device=pdf, file="~/Desktop/print.pdf")
# does not work (essentially, what happens for Device->Print)
dev.print(device=postscript, file="~/Desktop/print.ps")
> The
> postscript fonts does not have a sans family, but Helvetica. From
> postscriptFonts we get:
>
> $sans
> $family
> [1] "Helvetica"
[...]
> So the family is Helvetica, not sans. If we do not use the
> par(family="sans") the plot uses Helvetica. I also tried it to a second pc
> with the same specifications (ubuntu6.10, rkward.svn, R-2.4.1) with the
> same result.
Hm, but I get the same for pdfFonts(). In fact, pdfFonts()$sans and
postscriptFonts()$sans are identical, here. However, printing works for pdf,
but not for postscript. I think, it would be supposed to work for postscript,
as well (or if anything, it should fail for both).
Does anybody have an insight on this?
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20070218/32d24cc2/attachment.sig>
More information about the Rkward-devel
mailing list