Announcement

Collapse
No announcement yet.

Truetype fonts mini HowTo

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Truetype fonts mini HowTo

    (1) mkdir /usr/X11R6/lib/X11/fonts/truetype
    (2) download and untar ttmkfdir
    (3) copy the ttmkfdir.linuxbin.glibc2 binary to /usr/local/bin/ttmkfdir
    (4) copy fonts to /usr/X11R6/lib/X11/fonts/truetype
    (5) cd to ~/truetype and do "ttmkfdir -o fonts.scale"
    (6) then do "mkfontdir -e /var/X11R6/lib/fonts/encodings"
    (7) add to XFree86Config; FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
    (8)You also want to make sure that you're loading the 'freetype' module
    in your XF86Config configuration -
    Section "Module"
    ...
    Load "freetype"
    ...
    EndSection
    (9) enjoy
Working...
X