Skip to content
Back to formatted view

Raw Message

Message-ID: <x2sm1so6ka.fsf@turmalin.kubism.ku.dk>
Date: 2005-04-15T09:14:22Z
From: Peter Dalgaard
Subject: inconsistent fonts generated in postscript file (PR#7795)
In-Reply-To: <20050415002644.267BABAF8@slim.kubism.ku.dk>

xiangli@gila-fw.bioengr.uic.edu writes:

> Full_Name: Xiang Li
> Version: 2.01
> OS: WinXP
> Submission from: (NULL) (128.248.174.125)
> 
> 
> I am trying to use the font of "TT Courier New: bold" to get the equal size of
> letters. The "TT Courier New: bold" is the 11th font listed in the Rdevga file.
> 
> You can just try a simple case:
> 
> plot(1:10, 1:10, xlab = "XILMV", font.lab = 11)
> 
> I save the plot in postscript format, and found the font in .ps file becomes
> Arial font. While I save the plot in JPEG or PNG format, everything is correct.

It's not a device independent font so you cannot expect it to be
copied between devices. Look at the help page for postscript().

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907