Skip to content

negative numbers in R plots in Illustrator 8 (and higher?) (PR#2199)

3 messages · Peter Dalgaard, RenE J.V. Bertin

#
Negative numbers in (encapsulated) postscript generated by R loose their sign when opened in Adobe Illustrator 8 (french). This was so in 1.5.x and remains in 1.6.0.

I suppose that this is a known issue, although it is rather a flaw in Illustrator than in R, if my analysis of it is correct. I sent a lengthy mail containing a solution (ISOLatin1Encoding has to be redefined) to the r-help mailing list, where it never arrived.

Is there any interest in that I retype it and send it here?

RenE Bertin.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
rjvbertin@hotmail.com writes:
First tell us your analysis... There is some weirdness with
hyphen-vs-minus in the ISOLatin1Encoding, which I at some point got
convinced that we're actually Doing According To Standards, weird as
it might seem. However, if Adobe themselves are getting it wrong, we
might reconsider our position.

I think it is Brian who has the scars from that particular battle.
#
On 22 Oct 2002 18:46:13 +0200, Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> wrote regarding "Re:
negative numbers in R plots in Illustrator 8 (and higher?) (PR#2199)"


8-) > Is there any interest in that I retype it and send it here?
8-) 
8-) First tell us your analysis... There is some weirdness with
8-) hyphen-vs-minus in the ISOLatin1Encoding, which I at some point got

	Indeed, it is that. Illustrator expects a hyphen at position 45, and not the minus that indeed appears to be the standard. ISO 1252 Latin 1 encoding does put the hyphen at that position.
There is not much difference between the hyphen and the minus glyphs; the former is slightly narrower than the latter. And it seems to be the hyphen that is generated by most keyboards.


8-) it might seem. However, if Adobe themselves are getting it wrong, we
8-) might reconsider our position.

	Well, there *is* some sort of issue with them. If the encoding calls for a minus, they should show it, and not silently ignore it! Or give a warning if the requested font doesn't have it.

Considering your position: just how easy is it to forget or overlook (the absence of) a sign? :)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._