Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fontconverter(1x) [osf1 man page]

fontconverter(1X)														 fontconverter(1X)

NAME
fontconverter - Converts user-defined characters (UDCs) into PCF format SYNOPSIS
fontconverter [-merge] [-w width] [-h height] [-udc udc_name] -font 'font_name' [-preload] preload_file OPTIONS
Specifies that command output be merged with an existing PCF font file. When the -merge option is specified, the command does not create a BDF file. See also the entry for the -font option. Specifies the width of the UDC font glyph. Use this option only when input fonts were created with a width smaller than the one specified for the cedit font-editing window. Specifies the height of the UDC font glyph. Use this option only when input fonts were created with a height smaller than the one specified for the cedit font-editing window. Specifies a non-default registry name when the -merge option is not specified. The file names for output files include base_name as the registry compo- nent, to which the fontconverter command automatically appends width and height specifiers and the and file types. The default registry names for UDC fonts vary according to language, as follows: JISX.UDC, for Japanese DEC.CNS.UDC, for Hanyu GB.UDC, for Hanzi When used with the -merge option, specifies the target font file for the merge operation. When used without the -merge option, specifies the font file whose header is used as a reference for generating the header of the standalone output file. Information in the reference font file is also used to determine default characters in the standalone output file. (A default character is a glyph, usually a square, that is displayed when the font file does not contain a glyph for a speci- fied code.) The reference_font parameter is specified using the format registry_width_height, for example: -font 'JISX.UDC_*' Specifies the file name of the input UDC file in a nondefault position on the command line. Include the -preload option only when specifying the preload_file parameter at a command line position other than last. OPERANDS
Specifies the input UDC font file for which PCF and BDF output formats are generated. DESCRIPTION
The fontconverter command creates PCF format font files for user-defined characters (UDCs) that are created by the font editor of the cedit utility. The PCF format font files allow UDCs to be displayed by X and Motif applications. Note You can also use the cgen command to create standalone PCF and BDF format font files and to merge font information into existing PCF format files. The advantage of using the cgen command for a merge operation is that you do not have to use the mkfontdir and xset commands to make information in the merged PCF file available to applications. EXAMPLES
The following example merges the UDC file, udc_font.pre, into the -*-140-*jisx0208* font. The generated output file is named jisx0208-kanji11_14_14.pcf: % fontconverter -merge -font '*-140-*jisx0208*' udc_font.pre The following example creates standalone font files in both PCF and BDF formats. The output files contain the converted result from udc_font.pre plus the default character and header information from font *-140-*jisx0208* but have the charset registry name deckanji.udc: %fontconverter -udc deckanji.udc -font '*-140-*jisx0208*' udc_font.pre FILES
Contains fontconverter error messages. SEE ALSO
Commands: cedit(1), cgen(1) fontconverter(1X)

Check Out this Related Man Page

MKFONTDIR(1)						      General Commands Manual						      MKFONTDIR(1)

NAME
mkfontdir, fonts.dir, fonts.scale, fonts.alias - create an index of X font files in a directory SYNOPSIS
mkfontdir [directory-name ... ] DESCRIPTION
For each directory argument, mkfontdir reads all of the font files in the directory searching for properties named "FONT", or (failing that) the name of the file stripped of its suffix. These are converted to lower case and used as font names, and, along with the name of the font file, are written out to the file "fonts.dir" in the directory. The X server and font server use "fonts.dir" to find font files. The kinds of font files read by mkfontdir depend on configuration parameters, but typically include PCF (suffix ".pcf"), SNF (suffix ".snf") and BDF (suffix ".bdf"). If a font exists in multiple formats, mkfontdir will first choose PCF, then SNF and finally BDF. The first line of fonts.dir gives the number of fonts in the file. The remaining lines list the fonts themselves, one per line, in two fields. First is the name of the font file, followed by a space and the name of the font. SCALABLE FONTS
Because scalable font files do not usually include the X font name, the file "fonts.scale" can be used to name the scalable fonts in the directory. The fonts listed in it are copied to fonts.dir by mkfontdir. "fonts.scale" has the same format as the "fonts.dir" file. FONT NAME ALIASES
The file "fonts.alias", which can be put in any directory of the font-path, is used to map new names to existing fonts, and should be edited by hand. The format is two white-space separated columns, the first containing aliases and the second containing font-name pat- terns. Lines beginning with "!" are comment lines and are ignored. If neither the alias nor the value specifies the size fields of the font name, this is a scalable alias. A font name of any size that matches this alias will be mapped to the same size of the font that the alias resolves to. When a font alias is used, the name it references is searched for in the normal manner, looking through each font directory in turn. This means that the aliases need not mention fonts in the same directory as the alias file. To embed white space in either name, simply enclose it in double-quote marks; to embed double-quote marks (or any other character), precede them with back-slash: "magic-alias with spaces" ""font name" with quotes" regular-alias fixed If the string "FILE_NAMES_ALIASES" stands alone on a line, each file-name in the directory (stripped of its suffix) will be used as an alias for that font. FILES
fonts.dir List of fonts in the directory and the files they are stored in. Created by mkfontdir. Read by the X server and font server each time the font path is set (see xset(1)). fonts.scale List of scalable fonts in the directory. Contents are copied to fonts.dir by mkfontdir. fonts.alias List of font name aliases. Read by the X server and font server each time the font path is set (see xset(1)). SEE ALSO
X(1), Xserver(1), xfs(1), xset(1) X Version 11 Release 6.1 MKFONTDIR(1)
Man Page