TTF Fonts from WinXP in Slackware current (pre-9.1) [Archived]


Results 1 to 2 of 2

Thread: TTF Fonts from WinXP in Slackware current (pre-9.1) [Archived]

  1. #1
    Join Date
    Mar 2002
    Location
    Nashville, TN, USA
    Posts
    12

    TTF Fonts from WinXP in Slackware current (pre-9.1)

    You should no longer need to manually install ttmkfdir or XFSTT to use TTF fonts in Slackware current (pre-9.1). Do the following as root...

    1) Copy your fonts from your Windows/Fonts directory to /usr/X11/lib/fonts/TTF
    2a)
    Code:
    cd /usr/X11/lib/fonts/TTF
    2b)
    Code:
    /usr/X11/bin/mkfontscale
    (you may need to remove marlett.ttf or some such font, mkfontscale gives an error on it)
    2c)
    Code:
    /usr/X11/bin/mkfontdir
    3) Make sure that everyone can *read* the fonts you just copied:
    Code:
    chmod a+r /usr/X11/lib/fonts/TTF/*
    (This was the step I forgot, OpenOffice won't pick up that the fonts are there unless they can be read...)
    4) Make sure your /etc/X11/XF86Config has a line like
    Code:
    FontPath         "/usr/X11/lib/fonts/TTF"
    5) Restart X, and you should be ready to go! (Note: This does not yet get the fonts to show up in Mozilla Firebird-GTK2-XFT2)
    Pythonista in training
    HelicalCynic
    Bryan Bates

  2. #2
    Join Date
    Feb 2003
    Location
    Arkansas, CSA
    Posts
    886

    Re: TTF Fonts from WinXP in Slackware current (pre-9.1)

    Originally posted by HelicalCynic
    (Note: This does not yet get the fonts to show up in Mozilla Firebird-GTK2-XFT2)
    I know that this is nearly 2 months after the fact but I hope it helps someone. After reading this post and doing exactly what it says you need to edit the /etc/X11/XF86Config file as follows:

    Under
    Section "Module"

    look for the following entries:
    # This loads the Type1 and FreeType font modules
    Load "type1"
    Load "speedo"
    # Load "freetype"
    # Load "xtt"

    Just uncomment the freetype line so that it looks like this

    Load "type1"
    Load "speedo"
    Load "freetype"
    # Load "xtt"
    Note from MMYoung, edited on 10/31 at 2 PM CT US
    Big BOOBOO here hope I didn't screw someone else's pooch. Don't add a "Load TTF" line, just uncomment the freetype line and it will work

    Now your fonts will be available to everything, including Mozilla Firebird and/or Thunderbird.

    Hope this helps, just wish I posted it sooner.

    Later,
    MMYoung
    Last edited by MMYoung; 10-31-2003 at 04:01 PM.
    In the 60's people took LSD to make the world weird. Now the world is weird and people take Prozac to make it normal.

    Slackware 11.0 - Dropline GNOME 2.16.1 - kernel 2.6.18
    openSUSE 10.2 with Xgl/compiz/beryl
    Windows XP - kernel klink
    Buy Slack
    Dropline GNOME

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •