From p.dalgaard at biostat.ku.dk  Fri Feb 13 11:46:20 2004
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Fri Feb 13 11:45:58 2004
Subject: [Rd] Fixed width graphics font?
In-Reply-To: <cefo20penr0vup0uq75aq8io7uqbdkd9r1@4ax.com>
References: <D7A3CFD7825BD6119B880002A58F06C20680AEB9@groexmb02.pfizer.com>
	<cefo20penr0vup0uq75aq8io7uqbdkd9r1@4ax.com>
Message-ID: <x21xoz2r5v.fsf@biostat.ku.dk>

Duncan Murdoch <dmurdoch@pair.com> writes:

> On Thu, 12 Feb 2004 20:50:38 -0500, you wrote:
> 
> >
> >Is there any way to get a fixed width plot in graphs?  I want to put a text
> >matrix into a plot and this would make it easy.  
> 
> In the Windows device, fonts 10 and 11 are fixed width "Courier New".
> In general graphics devices don't have to supply such a font.

In particular, I don't think it is possible in the postscript and x11
devices (unless you switch the basic fonts in postscript). It
shouldn't be hard to add, though -- basically just add a Courier font
at font positions 6, and maybe continue with bold and oblique
variants. However, I wouldn't know whether any of what Paul has been
up to involves a more radical solution to font handling in general.

-- 
   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


[Rd] Fixed width graphics font?
Peter Dalgaard