[Rd] Latin1 encoded AFM files

Prof Brian Ripley ripley@stats.ox.ac.uk
Mon, 18 Sep 2000 13:36:48 +0100 (BST)


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