%general-entities; ]> $LastChangedBy$ $Date$ Xorg Fonts Xorg Fonts Introduction to Xorg Fonts The Xorg font packages provide some scalable fonts and supporting packages for Xorg applications. Many people will want to install other TTF or OTF fonts in addition to, or instead of, these. Some are listed at . &lfs90_checked; Package Information Download (HTTP): Download (FTP): Download size: &x7fonts-size; Estimated disk space required: &x7fonts-buildsize; Estimated build time: &x7fonts-time; Xorg Fonts Dependencies Required User Notes: Downloading Xorg Fonts First, create a list of files to be downloaded. This file will also be used to verify the integrity of the downloads when complete: cat > font-&xorg-version;.md5 << "EOF" &font-util-md5sum; font-util-&font-util-version;.tar.bz2 &encodings-md5sum; encodings-&encodings-version;.tar.bz2 &font-alias-md5sum; font-alias-&font-alias-version;.tar.bz2 &font-adobe-utopia-type1-md5sum; font-adobe-utopia-type1-&font-adobe-utopia-type1-version;.tar.bz2 &font-bh-ttf-md5sum; font-bh-ttf-&font-bh-ttf-version;.tar.bz2 &font-bh-type1-md5sum; font-bh-type1-&font-bh-type1-version;.tar.bz2 &font-ibm-type1-md5sum; font-ibm-type1-&font-ibm-type1-version;.tar.bz2 &font-misc-ethiopic-md5sum; font-misc-ethiopic-&font-misc-ethiopic-version;.tar.bz2 &font-xfree86-type1-md5sum; font-xfree86-type1-&font-xfree86-type1-version;.tar.bz2 EOF To download the needed files using wget, use the following commands: mkdir font && cd font && grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \ -B &xorg-download-http;/font/ && md5sum -c ../font-&xorg-version;.md5 Installation of Xorg Fonts &as_root; First, start a subshell that will exit on error: bash -e Install all of the packages by running the following commands: for package in $(grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}') do packagedir=${package%.tar.bz2} tar -xf $package pushd $packagedir ./configure $XORG_CONFIG make as_root make install popd as_root rm -rf $packagedir done Finally, exit the shell that was started earlier: exit When all of the fonts have been installed, the system must be configured so that Fontconfig can find the TrueType fonts since they are outside of the default search path of /usr/share/fonts. Make symlinks to the Xorg TrueType font directories by running the following commands as the root user: install -v -d -m755 /usr/share/fonts && ln -svfn $XORG_PREFIX/share/fonts/X11/OTF /usr/share/fonts/X11-OTF && ln -svfn $XORG_PREFIX/share/fonts/X11/TTF /usr/share/fonts/X11-TTF Contents Installed Programs Installed Libraries Installed Directories bdftruncate and ucs2any None $XORG_PREFIX/share/fonts Short Descriptions bdftruncate generates a truncated BDF font from an ISO 10646-1 encoded BDF font. bdftruncate ucs2any generates BDF fonts in any encoding from an ISO 10646-1 encoded BDF font. ucs2any