tactical vim

nerdy bits & pieces

easily get your Luxi fonts back in Fedora 9, Fedora 10, +

with 3 comments

I roll with Luxi Sans – that’s just the kind of guy I am. The font looks fantastic on LCD/laptop screens of varying dimensions (I use 1400×1050 on a Thinkpad T43, 1600×1200 on a Dell 2007FP, and 1900×1200 on a Dell XPS Gen 2) and to me is the best available. Luxi Mono as a console font is great. Sadly with the release of Fedora 9 and Fedora 10 the team removed the fonts from the distro due to licensing reasons (read about it here). See below for a quick and easy way to get it back on your system.

By a stroke of luck, the font was packaged in Fedora 8 in it’s own RPM file; additionally, that RPM is non-conflicting with newer releases – it installs cleanly. After you’ve got your system up and running just fire up Google and find this file:

xorg-x11-fonts-truetype-7.2-3.fc8.noarch.rpm

Since it was a mainstream part of Fedora 8, it’s available all over the internet. Download that RPM, install it and (if needed) restart XFS or however you like to get new fonts working. Done deal, you’re Luxi enabled and enjoying life.

For the paranoid, the contents of the package are listed here – no surprises. There is an install scriptlet and an uninstall scriptlet only, normal stuff.


postinstall scriptlet (using /bin/sh):
{
  FONTDIR=/usr/share/X11/fonts/TTF
  ttmkfdir -d $FONTDIR -o $FONTDIR/fonts.scale
  mkfontdir $FONTDIR
  fc-cache $FONTDIR
}
postuninstall scriptlet (using /bin/sh):
{
  FONTDIR=/usr/share/X11/fonts/TTF
  if [ "$1" = "0" -a -d $FONTDIR ]; then
    ttmkfdir -d $FONTDIR -o $FONTDIR/fonts.scale
    mkfontdir $FONTDIR
    fc-cache $FONTDIR
  fi
}


/etc/X11/fontpath.d
/etc/X11/fontpath.d/xorg-x11-fonts-TTF
/usr/share/X11/fonts
/usr/share/X11/fonts/TTF
/usr/share/X11/fonts/TTF/encodings.dir
/usr/share/X11/fonts/TTF/fonts.alias
/usr/share/X11/fonts/TTF/fonts.cache-1
/usr/share/X11/fonts/TTF/fonts.cache-2
/usr/share/X11/fonts/TTF/fonts.cache-3
/usr/share/X11/fonts/TTF/fonts.cache-4
/usr/share/X11/fonts/TTF/fonts.cache-5
/usr/share/X11/fonts/TTF/fonts.cache-6
/usr/share/X11/fonts/TTF/fonts.cache-7
/usr/share/X11/fonts/TTF/fonts.cache-8
/usr/share/X11/fonts/TTF/fonts.cache-9
/usr/share/X11/fonts/TTF/fonts.dir
/usr/share/X11/fonts/TTF/fonts.scale
/usr/share/X11/fonts/TTF/luximb.ttf
/usr/share/X11/fonts/TTF/luximbi.ttf
/usr/share/X11/fonts/TTF/luximr.ttf
/usr/share/X11/fonts/TTF/luximri.ttf
/usr/share/X11/fonts/TTF/luxirb.ttf
/usr/share/X11/fonts/TTF/luxirbi.ttf
/usr/share/X11/fonts/TTF/luxirr.ttf
/usr/share/X11/fonts/TTF/luxirri.ttf
/usr/share/X11/fonts/TTF/luxisb.ttf
/usr/share/X11/fonts/TTF/luxisbi.ttf
/usr/share/X11/fonts/TTF/luxisr.ttf
/usr/share/X11/fonts/TTF/luxisri.ttf

Hooray, Luxi fonts! And there was much rejoicing.

About these ads

Written by troyengel

2008-11-28 at 10:45

Posted in Uncategorized

Tagged with , , , , ,

3 Responses

Subscribe to comments with RSS.

  1. [...] it doesn’t look at all pretty, and so you need to install some additional fonts (hint found here). There are some additional download options for other architectures [...]

  2. [...] As a result, they were removed from Fedora and Debian distributions (though Fedora users can get it back). They are also available through OpenOffice’s FontOOo [...]

  3. [...] As a result, they were removed from Fedora and Debian distributions (though Fedora users can get it back). They are also available through OpenOffice’s FontOOo [...]


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 65 other followers

%d bloggers like this: