Skip to content

When is PDF not PDF?

4 messages · Gerry Brush, rozen, Don MacQueen

#
Hi,

I'm creating PDF files in R to insert into a PowerPoint presentation on 
my Mac, OS X 1.5, shortly to be OS X 2.  At first I was using R 1.5.0 on 
Solaris but found that the font, Helvetica, failed to display when the 
file was inserted into PowerPoint.  I had success when I created the PDF 
file in R 1.6.0 for MacOS (Mac OS X, not Darwin/X), but then when I 
added a dashed line to the graph, it failed to appear in PowerPoint.  I 
can live for the moment without the dashed line, but I wonder if I've 
misunderstood something about the use of pdf(), or maybe plot() or 
lines().

Thanks in advance,

Gerry


-----------------------------------------------------------------
Gerry Brush, Ph.D.				   	
Department of Genetics
Southwest Foundation for Biomedical Research
P.O. Box 760549
San Antonio, TX 78245-0549, USA
Tel: (210) 258-9613
Fax: (210) 670-3317
E-mail: gbrush@darwin.sfbr.org
-----------------------------------------------------------------
#
Try including
   encoding='AdobeStd'
in your pdf() call.

When I do that with R >= 1.5.1 on Solaris I get both the hyphens and 
Helvetica displayed when I import the pdf into PowerPoint (the Office 
X version).

-Don

I've had the missing hyphens problem with the Splus postscript device also.
At 10:03 AM -0600 10/31/02, Gerry Brush wrote:

  
    
#
Would not be the best way to use latex+pdfscreen and to forget this 
powerpoint?

I guess that micro$oft made a bad port of pdf (Adobe product) in 
powerpoint.

One way is to convert your pdf to a micro$ft format using 
graphicconverter for example and to discover it works perfectly ;-)


Le jeudi, 31 oct 2002, à 17:03 Europe/Berlin, Gerry Brush a écrit :
#
Sorry, I kind of jumped from dashed lines to hyphens in text. The 
encoding='AdobeSTD' solved the hyphen problem for me.

But I just now did this little set of commands
in R 1.6.0 on Solaris, and when I inserted tmp.pdf into PowerPoint X 
the dashed line was there, as was the text. Also looked ok when I 
used R 1.6.0 for Darwin/X.

-Don