home *** CD-ROM | disk | FTP | other *** search
- AFMMAKER.PS
-
- 1. General
-
- To install a PostScript(R) font in a NeXT computer, You need at least an
- outline font and its AFM file. The purpose of "afmmakrer.ps" is to
- help those who only have outline files to generate AFM files. The
- program generates a NeXT-acceptable bare-bone AFM file from an outline
- font.
-
- 2. References
-
- This program is based on the information given in Chapter 5 of
- 'PostScript Language Reference Manual, Second Edition' and 'Adobe Font
- Metric Files Specification, Version 3.0'. To utilize AFM files fully,
- please read those documentations. The reference manual is available
- from technical bookstores or Adobe(R), and the specification is available
- from adobe documentation server.
-
- To get the specification:
- send email to 'ps-file-server@adobe.com'
- with Subject line 'send Documents AFMformat.ps' and no body message.
- To get the general information of ps-file-sever:
- send email to 'ps-file-server@adobe.com'
- with Subject line 'help' and no body message.
-
- Also, Adobe archive already has all (or most) AFM files for its
- registered Type 1 fonts. So, you can get them free.
-
-
- 3. Installing a font in NeXT.
-
- For the details of this, please refer to the online document,
- 'Preparing Fonts for NextStep' in
- "/NextLibrary/Documentation/NextDev/Notes/Fonts.rtf".
-
- a. First, create a font directory for your new font. If your new
- font is "ABC", then create a subdirectory, "ABC.font", in
- "/NextLibrary/Fonts", "/LocalLibrary/Fonts", or "~/Library/Fonts".
- Then, put your outline font file in "ABC.font" with filename "ABC".
-
- b. Then, create an afm file using 'afmmaker.ps'. To use this
- program, you need another program called "psh" which also can be found
- in NeXT archives. Use your favorite editor to put some necessary
- information into 'afmmaker.ps'. You have to give the name of the
- font, encoding scheme, full name, family name, etc. To find out the
- details of these, please refer to the AFM specification document.
- Actually, the specification says some of these information are
- optional. However, 'buildafmdir' (see below) wants them.
- In your shell window, please run the following command.
-
- psh afmmaker.ps > ABC.afm
-
- This will create a bare-bond AFM file with information about
- character widths and bounding boxes. However, the file does not
- include any kerning information. This, as well as other optional
- information, should be added by hands. Check the AFM file if it
- contains any error message starting with "%%[ Error:...." which means
- 'afmmaker.ps' has failed in some way.
-
- c. Then, run 'buildafmdir /NextLibrary/Fonts' or
- 'buildafmdir /LocalLibary/Fonts' or
- 'buildafmdir ~/Library/Fonts' depending where the new font is.
- Now, you can use the font.
-
- Remember that without screen bitmap fonts, the screen images of characters
- at a small point (i.e. < 20) wouldn't look good.
-
-
- 4. Copyright
-
- 'afmmaker.ps' can be used and distributed freely as long as the original
- copyright information is intact. There is ABSOLUTELY NO warranty or support.
- However, please send your comments and error reports to
- yu@pgate.boeing.com. I will try to make necessary changes from time
- to time.
-
-