General Description
Includefonts is a filter for the CUPS print system, which embeds the fonts required by PostScript print jobs, given that the PostScript contains the necessary DSC comments and that the required fonts are available on the system.
includefonts queries the printer's PPD file (via the CUPS API) to find out which of the required fonts are resident in the printer and thus don't need to be included. Various options can be used to control the search path and the inclusion of fonts.
If the printer contains a TrueType rasterizer, TrueType fonts are automatically wrapped as Type42 fonts.
History
Includefonts is based on Helge Blischke's cups_fontfilter. It differs from the original version in the following ways:
Removed the SINIX spool support and the related
-spool
,-trace
,-log
, and-title
options.Removed support for the
cups_fontfilter.conf
configuration file. Instead, fonts are located through standard.upr
files.The PPD file for the printer is fetched via the CUPS API, and only fonts which are not resident in the printer are included. The exact behavior can be customized, see the includefonts(1) man page for details (the man page is contained in includefonts and will be installed by make install).
Prerequisites
Besides CUPS, you need Perl and a C compiler. Detailed installation
instructions can be found in the README
file contained in the
distribution.
Includefonts also requires the following Perl module, which is available from CPAN:
- PostScript::Font (at least version 1.10 is recommended)
If you want to download TrueType fonts, you also need
Download
includefonts-0.13.tar.gz (47 kB)