From ripley@stats.ox.ac.uk  Mon Sep 18 13:36:48 2000
From: ripley@stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 18 Sep 2000 13:36:48 +0100 (BST)
Subject: [Rd] Latin1 encoded AFM files
In-Reply-To: <200009181213.OAA39666@fischer.pharm.uu.nl>
Message-ID: <Pine.GSO.4.05.10009181333150.17891-100000@toucan.stats>

On Mon, 18 Sep 2000, Malcolm Gillies wrote:

> Hi,
> 
> I patched my R-1.1.1 sources to add support for a couple more fonts to
> the postscript device.
> 
> It works for alphanumeric characters, but I notice that I should be
> supplying an AFM file with ISOLatin1Encoding (I'm using a standard AFM
> for now, and get some parsing errors from R when I open the postscript
> device).

I have re-written that code to allow you to use an afm file in any
encoding. I'll send you the patch in a couple of days (I'm away from base
at present).  My idea is that 1.2.0 will support user-specified families,
but the work is not yet complete.

> Is there a program/script which will re-encode my AFM files from
> AdobeStandardEncoding to ISOLatin1Encoding?

You can use some of the postscript utility files that come with gs to
write a ps program to do so. PostScript experts only, of course.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Latin1 encoded AFM files
Prof Brian Ripley