Hello,
Without feedback, it's hard to understand why text does not show up
in the output—especially, if it shows up on one device but not on
another. I suggest adding a warning message when text gets ignored,
because the device doesn't support clipping (see the attached patch).
Hello,
Apparently, the mail program doesn't like attachments. Here's the
patch and the script again.
Sebastian
--- R Script ---
xfig
(file
=
test
.fig,onefile=TRUE,width=6,height=4,textspecial=TRUE,defaultfont=TRUE)
barplot(seq(.8,0,-0.15))
Hello,
A comment in engine.c states: /* don't draw anything; this could
be made less crude :) */. The following patch makes it less crude: If
the device doesn't support clipping and the text doesn't fit into the
area, then remove one character after another from the text until
either
Thanks for the guidelines. The updated patch also includes an
exhaustive test in R for the two new options.
Sebastian
Index: src/library/grDevices/R/postscript.R
===
--- src/library/grDevices/R/postscript.R(revision
Hello,
The current xfig device lacks the functionality to set the
textspecial flag and use the defaultfont in xfig. This is necessary
when you want to export to xfig and use interpreted text (e.g., $
\frac{1}{e}$ gets interpreted by latex). The attached patch adds this
functionality.