Computer Music Politics Miscellany

Installing Fonts on X

Resources:

Notes on fonts [incomplete]:

Introduction

X11 currently uses two font systems: the original core fonts system, which will be referred to as the legacy system in this document, and the Xft font system.

Installing Fonts on Linux

Using Xft


FreeType setup for hinting TrueType fonts:

The bytecode interpreter is usually not enabled in Linux releases because of patents owned by Apple Computer. After reading the information concerning these patents, you can make a decision as to whether you will enable the bytecode interpreter in FreeType. If you are so inclined start by downloading and installing the latest FreeType from source. Use it to update your existing libs. (I've successfully done this with FreeType 2.1.10 and FreeType 2.3.3 on Slackware 10.0 and 11.0.)

  1. Untar the source and cd to the source directory.
  2. Edit include/freetype/config/ftoption.h and make the following happen:
    • #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
  3. ./configure --prefix=/usr
  4. make
  5. make install
  6. /sbin/ldconfig

The source for FreeType contains more information in the form of README's. It is a good idea to read all the information that is available before installing any stuff on your machine.

After making the changes you will probably notice some improvement in the way fonts look in some of your applications. I've successfully done this to Slackware 10.0 and 10.2. The new libs will over-write the old ones and you're on your way.

RPM to do this? You don't need no stinking RPMs.

Last updated: Saturday, 13-Sep-2014 01:47:40 UTC