Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fontdatabase(5) [centos man page]

FONTDATABASE(5) 						File Formats Manual						   FONTDATABASE(5)

NAME
FontDataBase - database of fonts accessible to t1lib. DESCRIPTION
This manual page has been written for the Debian GNU/Linux distribution. It has been adapted from the documentation included in the upstream t1lib distribution. /etc/t1lib/FontDataBase is a text file which contains, minimally, the basenames of Type 1 font files to be made accessible to the t1lib font rasterizer library. The format is intentionally similar to that of the fonts.dir and fonts.scale files used by X11. Line 1 of this file contains a positive integer specifying the number of fonts declared in that file. This is as in the fonts.dir files of the X11 system. All remaining lines contain declarations of one font each. The only thing taken from such a line is the last string (delimited by white space) in it. It is assumed to be a filename of the format basename.someextension. The basename part is assumed to be the basename(1) of a fontfile. After the a string has been parsed, the extension is cut off and replaced in turn with .pfa and .pfb. The initialization routine tries to open a font file in its search path with one of the resulting filenames. The remainder of the line, i.e., from beginning to the start of the filename string, is completely ignored and thus may contain information for other programs. EXAMPLES
Here is a minimal font database file for 4 fonts: 4 isvl.afm isvli.afm isvd.afm isvdi.afm This file is minimal, because it contains just the information needed, and nothing not needed by the library. Here is a more realistic example, which allows an application to match a fully qualified X11 fontname to a FontID in t1lib. This is also a valid font database file: 4 Souvenir Souvenir-Light --- -itc-souvenir-light-r-normal--#-0-0-0-p-0-iso8859-1 isvl.afm Souvenir Souvenir-LightItalic -*- -itc-souvenir-light-i-normal--#-0-0-0-p-0-iso8859-1 isvli.afm Souvenir-Demi *-- -itc-souvenir-demi-r-normal--#-0-0-0-p-0-iso8859-1 isvd.afm Souvenir-DemiItalic **- -itc-souvenir-demi-i-normal--#-0-0-0-p-0-iso8859-1 isvdi.afm FILES
/etc/t1lib/FontDataBase SEE ALSO
mkfontdir(1x) FONTDATABASE(5)

Check Out this Related Man Page

MKCFM(1)						      General Commands Manual							  MKCFM(1)

NAME
mkcfm - create summaries of font metric files in CID font directories SYNOPSIS
mkcfm [CID-font-directory-name] DESCRIPTION
There is usually only one CID font directory on the X font path. It is usually called /usr/X11R6/lib/X11/fonts/CID. If you do not specify an argument, mkcfm will try to go through the subdirectories of that directory, and create one summary of font metric files for each CID- Font (character descriptions) file and each CMap (Character Maps) file it finds. The summaries of font metric files are put in the existing CFM subdirectory. The CFM subdirectories are created when CID-keyed fonts are installed. If you specify a CID font directory as an argument, mkcfm will try to go through the subdirectories of that directory, and create one sum- mary of font metric files for each CIDFont file and each CMap file it finds. mkcfm will calculate the summaries of the font metric files stored in AFM subdirectories of the CID font directory. Those summaries are needed by the rasterizer of CID-keyed fonts to speed up the response to X font calls. If those files do not exist, CID rasterizer will have to go through usually large font metric files, and calculate the summaries itself each time the font is called. You will notice a substantial wait on a call to a large CID-keyed font. FILES
.afm files Each CID-keyed font file is supposed to have a font metric file (.afm file). mkcfm creates summary files (.cfm files) of those font metric files. mkcfm should be run whenever a change is made to the files stored in the subdirectories of the CID font directory. For example, it should be run when new CID fonts are installed. .cfm files Summaries of font metric (.afm) files created by mkcfm. SEE ALSO
The rasterizer for CID-keyed fonts in the directory xc/lib/font/Type1. CID Fonts Version 1.0 Release 1.0 MKCFM(1)
Man Page