Skip navigation.
Home
Now Shipping Version 7.0

HOWTO: Installing fonts in MEPIS


Posts: 724

I did a search on this forum and couldn't find anything on this subject so I thought I'd write down the steps that I have taken to get my "extra" TrueType fonts that I like recognized by MEPIS. I have all of my fonts on CD (about 25 MB worth), as this makes copying them easier. Also I have added a "static" line to my fstab for my cdrom drive. This makes mounting the cd easier from the terminal.

Open a terminal and su to root and type in the following:
mount /mnt/cdrom
mkdir /usr/X11R6/lib/X11/fonts/TT
cp /mnt/cdrom/* /usr/X11R6/lib/X11/fonts/TT
cp /mnt/cdrom/* /usr/share/fonts/truetype/openoffice
chmod a+r /usr/X11R6/lib/X11/fonts/TT/*
chmod a+r /usr/share/fonts/truetype/openoffice/*
mkfontscale /usr/X11R6/lib/X11/fonts/TT
mkfontdir /usr/X11R6/lib/X11/fonts/TT
mkfontscale /usr/share/fonts/truetype/openoffice
mkfontdir /usr/share/fonts/truetype/openoffice
fc-cache
vi /etc/X11/XF86Config-4
Add the following line under the Section "Files" and # True type and type1 fonts
FontPath "/usr/X11R6/lib/X11/fonts/TT"

Make sure that in the Section "Modules" that Load "type1", Load "freetype" and Load "xtt" are all uncommented (they should be by default).

That's it! Now exit out of the terminal and reboot your PC and you're good to go. You will be able to use those fonts in OpenOffice, Mozilla, Firebird, Thunderbird, even Evolution.

Notes:
If you have your Windows drives mounted in fstab you can just mount the drive where the Windows directory is and copy the contents of the *:\Windows\Fonts directory if you don't have your fonts on CD.

I create a separate directory called TT to keep my installed fonts separate from the ones originally installed with the distro.

If you get an error message when you run mkfontscale you will have to delete the offending font file until you no longer get any errors. The only problem that I have run into is the marlett font family.

You can use whatever text editor you like, I'm just used to vi.

The instructions in this HOWTO worked in MEPIS (2003.10), hopefully this is something that you will find useful.

MYoung
______________________________________

Even the mightiest of Oaks was once just a little nut that held it's ground.

Thank you

Thank you

RE: Thank you

Your welcome. I still haven't tried 2.6.0 yet, just ain't got the nerve Eye-wink.

Later,
MYoung
________________________________________

Even the mightiest of Oaks was once just a little nut that held it's ground.

Another thank you...

Just tried it on my install of the latest simply mepis 2.6.xx kernel and it worked flawlessly. The font is now accesible in all applications that I need.

this is what linux needs. clear, concise and detailed instructions.

thanks again,
Nick

this looks like something I need

I switched over to Konqueror from Firefox and
my kernel version on this particular install is
2.6.12.

Will this solve the 'have to type cntl++ all the time'
to set fonts in Firefox?

Other odd problem I have is carriage returns don't work in this
window right... the bottom of the screen won't scroll to make
text visible. How weird is _that_?

Mepis 6.0

MYoung wrote:
Your welcome. I still haven't tried 2.6.0 yet, just ain't got the nerve Eye-wink.

Later,
MYoung

I just finished applying the process that you described above on Mepis 6.0, and I only ran into one problem: /etc/X11/XF86Config-4 did not exist. Instead, in "/etc/X11/xorg.conf" and "/etc/X11/xorg.conf.in" I added...

FontPath "/usr/X11R6/lib/X11/fonts/TT"

...under...

# Other font paths

...and had to add...

Load "xtt"

...under...

Section "Module".

I am by no means a Mepis (or Linux) expert, but all my fonts have become available to me in all my applications, including (the big kicker) GIMP.

-Steve

EnigmaOne's picture

Quote:Submitted by MYoung on

Quote:
Submitted by MYoung on Fri, 12/26/2003 - 13:45

This post is pretty old. As fast as things are changing, info like this gets stale in short-order. It was, however, valid at the time it was written.

"You done filled my wagon chock-full to burstin' with nonessentials. Look at this: Cinnamon, oregano, ci-lantro...What in the cock-a-doodle is ci-lantro?"
"I got your four basic food groups! Beans, bacon, whiskey and lard!"

This procedure no longer

This procedure no longer works. Does anyone have an updated procedure?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.