Skip to content

Letter Spacing

3 messages · Redding, Matthew, Brian Ripley, Renaud Lancelot

#
Hi All, 

I've been trying to make some adjustments to the graphics in a paper I wrote some time ago, for which the comments have been 
returned from the reviewers.

I always use R for publication graphics...I think it does the best job available, for the things I am interested in.

I could not get my graphics in R 181 to look the same as the old ones (completed 8 months ago), 
the text seemed a bit squashed 
together when I copied graphics as meta-files into word.  

I have found that by re-installing version 1.51, the graphics look as nice as the previous ones, with the text nicely spaced.

Is there a "par" parameters that will adjust the letter spacing, so I can use version 181 for this type of job?

Thanks,

Matt R. Redding
Senior Environmental Scientist, Intensive livestock and sheep
Agency for Food and Fibre Sciences
Department of Primary Industries

Telephone 07 4688 1372  Fax 07 4688 1192
Email matthew.redding at dpi.qld.gov.au
Website  http://www.dpi.qld.gov.au/ilsu/  Call Centre 13 25 23 

********************************DISCLAIMER******************...{{dropped}}
#
We are not aware of any related changes between R 1.5.1 and R 1.8.1, and
no one else has reported a problem.  Text strings in R graphics are
plotted directly in the font specified and not as individual letters, so
there is nothing you can do about letter spacing in R.

I would first cross-check that the same fonts have been used in both 
systems (and that includes exact sizes of fonts), then check that a 
metafile viewer (Windows XP comes with one, for example) shows the 
difference.  I am afraid that most of the problems we have investigated 
with metafiles were traced to bugs in Word.
On Fri, 9 Jan 2004, Redding, Matthew wrote:

            

  
    
#
Redding, Matthew a ?crit :
I am using Word 2000. I have the best results copying the screen output 
to a file using dev.copy(), e.g.

plot(blabla)
dev.copy(win.metafile, "mygraph.wmf")
dev.off()

(and then insert the graphic file into the Word document).

In particular, it gives me neater lines than with the GUI menus, either 
copying/pasting the graph into Word, or saving it to a file.

Best,

Renaud