CTAN Comprehensive TeX Archive Network

Directory fonts/utilities/fontload

Copyright (C) 1994, Basil K. Malyshev. All rights reserved.

Partial font downloading utility.

NEEDED:  GhostScript interpreter: GS 2.6.1 (recomended) or GS 3.12

This tool realizes partial downloading of the ATM compatible Type 1 fonts
required in the specified PostScript file.
This tool is combination of 
  - the psfstat.ps PostScript script 
    which collects information about font using 
  - and SubFont program which extracts from source fonts subfonts which
    contains only required characters.

This approach, in comparison with well known DVIPSONE partial font 
downloading facility, has follow advantages:
  1. That can be applied in many systems which generates PostScript output.
     So, psfstat.ps script was tested with:
        a. DVIPS output;
        b. Frame Output;
        c. MS Windows PostScript driver output.
  2. That prepare not only text fonts but also fonts used in inserted

However, this approach requires a lot of CPU time to complete scanning
of the PostScript file.

==== USING, for example with DVIPS. ====

Tune DVIPS font maps such that ATM compatible Type 1 fonts 
will not be copied into output PostScript file.
So, you must use for font mapping cmfonts.ref file which contains lines like:
   cmr10 cmr10
but not cmfonts.map file which contains lines like:
   cmr10 cmr10 <cmr10.pfb

In correct case, After command 
   dvips -P??? foo
you will have PostScript file without fonts, which you can print by command
   fload foo.ps | lpr

Basil K. Malyshev, 11/24/94 22:59:01, Geneve, Switzerland.
E-Mail: malyshev@dxcern.cern.ch or malyshev@mx.ihep.su

Download the contents of this package in one zip archive (133.0k).

fontload – A partial font downloading utility

The tool scans a PostScript file, and replaces the embedded Adobe Type 1 fonts with appropriately subsetted versions. The process of scanning the file is done using a PostScript program executing in ghostscript.

The need for the tool has largely disappeared, for users, following the introduction of the partial-downloading capabilities of current versions of dvips.

Version 1995-01-27
Copyright1994 Basil K. Malyshev
MaintainerBasil Malyshev (deceased)
TopicsPS manipulation
Guest Book Sitemap Contact Contact Author