From: ajcd@dcs.ed.ac.uk (Angus Duggan)
Newsgroups: comp.fonts
Subject: Re: PFA to PFB (was: Re: AFM to PFB)
Date: 10 Nov 92 10:35:01 GMT
Followup-To: comp.fonts
Organization: Edinburgh University Fried Brain Carry-out

In article <BxEsGK.MyA@bull.nl>, jos@bull.nl (Jos Vos) writes:
> >In article <1992Oct30.224322.1525@bmers145.bnr.ca> masika@bmers141.bnr.ca  
> >(Nicholas Masika) writes:
> 
> >    *  I have been able to convert AFM to PFM (using refont) but
> >    *  haven't been able to convert PFA to PFB.  I have read the
> >    *  FAQ and it simply says that there is a way to do it but
> >    *  doesn't acutally say how.
> 
> As an experiment, I hacked a quick-and-dirty program to convert PFA
> to PFB format (based on a program that does the PFB to PFA conversion).

You could get and compile the t1utils programs written by I. Lee Hetherington,
which are available on src.doc.ic.ac.uk (and probably other good archive
servers) in /packages/tex/fonts/utilities/t1utils.

The README file is at the end of this message:

a.
-- 
Angus Duggan, Department of Computer Science,	| I'm pink, therefore I'm Spam.
University of Edinburgh, JCMB,			| JANET:  ajcd@uk.ac.ed.dcs
The King's Buildings, Mayfield Road,		| VOICE:  (UK) 031 650 5126
Edinburgh, EH9 3JZ, Scotland.	                | INET: ajcd@dcs.ed.ac.uk

$Id: README,v 1.1 92/06/04 09:30:47 ilh Exp $

t1utils is a collection of simple type-1 font manipulation programs.
Together, they allow you to convert between PFA (ASCII) and PFB
(binary) formats, disassemble PFA or PFB files into human-readable
form, reassemble them into PFA or PFB format.  Additionally you can
extract font resources from a Macintosh font file (ATM/Laserwriter).

There are currently five programs:

t1ascii         converts PFB files to PFA format.

t1binary        converts PFA files to PFB format.

t1disasm        disassembles a type-1 font (PFA or PFB format) into a
                raw, human-readable text form for subsequent hand
                editing, tweaking, hint fixing, etc...

t1asm           assembles type-1 font into PFA or PFB format from raw,
                human-readable text form.

unpost          extracts POST resources from a Macintosh type-1 file
                (ATM/Laserwriter) into PFA or PFB format for use
                outside the Macintosh environment.  The Macintosh file
                should be stored in MacBinary format or as a raw
                resource fork.  Note that unpost does not have to run
                on a Macintosh, but makes Macintosh type-1 fonts
                available to Unix machines and PCs.

These programs have been successfully compiled on a Sun 4 (SPARC)
using both acc and gcc.  The programs are written in ANSI C.  Porting
to other machines should be relatively simple.  Would you like to
help?

The copyright on all of the tools in t1utils looks like:

        Copyright (c) 1992 by I. Lee Hetherington, all rights
        reserved.
        
        Permission is hereby granted to use, modify, and distribute
        this program for any purpose provided this copyright notice
        and the one below remain intact.

Note that these tools should not be used to illegally copy type-1 font
programs.  Typeface design is an intricate art that should be
rewarded.

The version numbers in this release are:
        t1ascii         1.1             t1binary        1.1
        t1disasm        1.2             t1asm           1.2

$Log:   README,v $
Revision 1.1  92/06/04  09:30:47  ilh
initial version


I. Lee Hetherington
ilh@lcs.mit.edu
Newsgroups: comp.fonts