1c7b4381aSmrglibXfont - X font handling library for server & utilities
2c7b4381aSmrg---------------------------------------------------------
3c7b4381aSmrg
4c7b4381aSmrglibXfont provides the core of the legacy X11 font system, handling the index
5c7b4381aSmrgfiles (fonts.dir, fonts.alias, fonts.scale), the various font file formats,
660da515cSmrgand rasterizing them.  It is used by the X display servers (Xorg, Xvfb, etc.)
760da515cSmrgand the X Font Server (xfs), but should not be used by normal X11 clients.  X11
860da515cSmrgclients access fonts via either the new APIs in libXft, or the legacy APIs in
960da515cSmrglibX11.
10c7b4381aSmrg
11c7b4381aSmrglibXfont supports a number of compression and font formats, and the
12c7b4381aSmrgconfigure script takes various options to enable or disable them:
13c7b4381aSmrg
14c7b4381aSmrg- Compression types:
15c7b4381aSmrg
16c7b4381aSmrg  * gzip - always enabled, no option to disable, requires libz
17c7b4381aSmrg
18c7b4381aSmrg  * bzip2 - disabled by default, enable via --with-bzip2, requires libbz2
19c7b4381aSmrg
20c7b4381aSmrg- Font formats:
21c7b4381aSmrg
22c7b4381aSmrg  * builtins - copies of the "fixed" & "cursor" fonts required by the
23c7b4381aSmrg    X protocol are built into the library so the X server always
24c7b4381aSmrg    has the fonts it requires to start up.   Accessed via the
25c7b4381aSmrg    special 'built-ins' entry in the X server font path.  
26c7b4381aSmrg    Enabled by default, disable via --disable-builtins.
27c7b4381aSmrg
28c7b4381aSmrg  * freetype - handles scalable font formats including OpenType, FreeType,
29c7b4381aSmrg    and PostScript formats.  Requires FreeType2 library.
30c7b4381aSmrg    Can also be used to handle bdf & bitmap pcf font formats.  
31c7b4381aSmrg    Enabled by default, disable via --disable-freetype.
32c7b4381aSmrg
33c7b4381aSmrg  * bdf bitmap fonts - text file format for distributing fonts, described
34c7b4381aSmrg    in https://www.x.org/docs/BDF/bdf.pdf specification.  Normally
35c7b4381aSmrg    not used by the X server at runtime, as the fonts distributed
36c7b4381aSmrg    by X.Org in bdf format are compiled with bdftopcf when
37c7b4381aSmrg    installing/packaging them.  
38c7b4381aSmrg    Enabled by default, disable via --disable-bdfformat.
39c7b4381aSmrg
40c7b4381aSmrg  * pcf bitmap fonts - standard bitmap font format since X11R5 in 1991,
41c7b4381aSmrg    used for all bitmap fonts installed from X.Org packages.
42c7b4381aSmrg    Compiled format is architecture independent.
43c7b4381aSmrg    As noted above, usually produced by bdftopcf.  
44c7b4381aSmrg    Enabled by default, disable via --disable-pcfformat.
45c7b4381aSmrg
46c7b4381aSmrg  * snf bitmap fonts - standard bitmap font format prior to X11R5 in 1991,
47c7b4381aSmrg    remains only for backwards compatibility.  Unlike pcf, snf files
48c7b4381aSmrg    are architecture specific, and contain less font information
49c7b4381aSmrg    than pcf files.  snf fonts are deprecated and support for them
50c7b4381aSmrg    may be removed in future libXfont releases.  
51c7b4381aSmrg    Disabled by default, enable via --disable-snfformat.
52c7b4381aSmrg
53c7b4381aSmrg- Font services:
54c7b4381aSmrg
559c9cb266Smrg  * xfs font servers - allows retrieving fonts as a client of an xfs server.
56c7b4381aSmrg    Enabled by default, disable via --disable-fc (font client).
57c7b4381aSmrg
58c7b4381aSmrg    If enabled, you can also use the standard libxtrans flags to
59c7b4381aSmrg    configure which transports can be used to connect to xfs:
60c7b4381aSmrg    
61c7b4381aSmrg        --enable-unix-transport  Enable UNIX domain socket transport
62c7b4381aSmrg        --enable-tcp-transport   Enable TCP socket transport (IPv4)
63c7b4381aSmrg        --enable-ipv6            Enable IPv6 support for tcp-transport
64c7b4381aSmrg        --enable-local-transport Enable os-specific local transport
65c7b4381aSmrg
66c7b4381aSmrg    (Change --enable to --disable to force disabling support.)  
67c7b4381aSmrg    The default setting is to enable all of the transports the
68c7b4381aSmrg    configure script can find OS support for.
69c7b4381aSmrg
70c7b4381aSmrg--------------------------------------------------------------------------
71c7b4381aSmrg
72c7b4381aSmrgAll questions regarding this software should be directed at the
73c7b4381aSmrgXorg mailing list:
74c7b4381aSmrg
75c7b4381aSmrg  https://lists.x.org/mailman/listinfo/xorg
76c7b4381aSmrg
779c9cb266SmrgThe primary development code repository can be found at:
78c7b4381aSmrg
79c7b4381aSmrg  https://gitlab.freedesktop.org/xorg/lib/libXfont
80c7b4381aSmrg
81c7b4381aSmrgPlease submit bug reports and requests to merge patches there.
82c7b4381aSmrg
83c7b4381aSmrgFor patch submission instructions, see:
84c7b4381aSmrg
85c7b4381aSmrg  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
86