Skip to content

pdf graph is mirror image in 2.7.0 (alpha)

5 messages · William Revelle, Brian Ripley, Simon Urbanek +1 more

#
Dear R.Gui developers

While testing out the wonderful graphics window in 2.7.0, I decided 
to see about saving a figure.

(Save does not seem to be an option in 2.7.0)

So,  I tried:
null device
           1

This leads to a figure that is the mirror image of the correct one.

However, as in 2.6.2,
creates a file that is correct.



R version 2.7.0 alpha (2008-04-05 r45110)
i386-apple-darwin8.10.1

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

Thanks for all the great work

Bill
#
On Sun, 6 Apr 2008, William Revelle wrote:

            
Yes, that's known (and I have reported it to Simon).  There is code in 
place intended to do the flipping, and similar code works for type="png".
So we need someone who understands Quartz better than me to look at it.

  
    
#
On Apr 6, 2008, at 8:21 PM, William Revelle wrote:

            
Thanks, it should be fixed now. [Sorry for the delay, I have  
completely forgotten about it.] Some more GUI-related fixed should  
follow soon.

Cheers,
Simon
#
On Mon, 7 Apr 2008, DinoDragon wrote:

            
Could you please test it and let us know?  (As I said yesterday, there are 
builds on r.research.att.com.)

When you last mentioned it I took a look, but my Mac does not have any 
Chinese fonts installed so I can't even plot on screen.  That makes me 
think that only people who use Chinese are likely to be able to test this.

BTW, your message is marked as being in us-ascii when it plainly is not, 
so we are not seeing what I presume are Chinese characters there.  So it 
is not just the quartz device that has encoding issues ....