Freetype - Truetype fonts for Linux

  1. Grab the latest 1.x *AND* 2.x releases from www.freetype.org
  2. Unpack and configure the 1.x release
    • tar zxvf freetype-1.x.x.tar.gz
    • ./configure --prefix=/usr --sysconfdir=/etc
  3. Compile and install it
    • make && make install
  4. Unpack and configure the 2.x release
    • tar zxvf freetype-2.x.x.tar.gz
    • vi include/freetype/config/ftoption.h
      • find #undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
      • change to #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
    • ./configure --prefix=/usr --sysconfdir=/etc
  5. Compile and install the library
    • make && make install
  6. Now, blow away the freetype-2.x.x dir and unpack it again
  7. Configure it for XFree86
    • vi include/freetype/config/ftoption.h
      • find #undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
      • change to #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
    • ./configure --prefix=/usr/X11R6
  8. Compile and install the library
    • make && make install
  9. Update your library resolutions
    • ldconfig -v

You have now given your applications and XFree86 the latest TrueType font support! Enjoy the eyecandy!

© Douglas Hunley (doug at linux-sxs.org)
searchSearch Index