Skip to content
Back to formatted view

Raw Message

Message-ID: <1264352766489-1288739.post@n4.nabble.com>
Date: 2010-01-24T17:06:06Z
From: Dieter Menne
Subject: Failure to produce italics in jpeg
In-Reply-To: <79658014-AB34-46D0-A42D-4627670A3A70@plessthan.com>

Dennis Fisher wrote:
> 
> 
> Using R 2.10.1 in OS X (Snow Leopard), I created JPEG documents that  
> were intended to include italicized text.  In the JPEG versions, the  
> italics appear in bold-face.  The identical code (except for the call  
> to the device) yields italics in PDF.  A minimal example is:
> 
> JPEG version:
>> jpeg(file="plot.jpeg", pointsize=12, bg="white", res=150, quality=100)
>> plot(1,1)
>> mtext(bquote(italic(P) < .(0.005)))
>> dev.off()
> 
> 

Seems to be a Mac problem, works ok for me under Windows. You might report
this as a bug, but a quick workaround would be to try CairoJPEG instead.

Dieter


-- 
View this message in context: http://n4.nabble.com/Failure-to-produce-italics-in-jpeg-tp1288310p1288739.html
Sent from the R help mailing list archive at Nabble.com.