LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2005, 06:57 PM   #1
r3dhatter
Member
 
Registered: Dec 2003
Distribution: Debian (testing)
Posts: 210

Rep: Reputation: 30
add windows fonts to linux -- easy way to do this?


How can I take the fonts from windows and add them to linux? I looked on google but all the articles are years old and there must be an easy way to do it now.


Thanks
 
Old 03-13-2005, 06:59 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
What distro?
 
Old 03-13-2005, 08:38 PM   #3
r3dhatter
Member
 
Registered: Dec 2003
Distribution: Debian (testing)
Posts: 210

Original Poster
Rep: Reputation: 30
debian sarge, 2.6 series kernel although there is no apt-get for the font I want, it is on my windows computer.
 
Old 03-13-2005, 11:05 PM   #4
toes
Member
 
Registered: Mar 2005
Location: Arkansas
Distribution: Mandy 2006, FC5
Posts: 154

Rep: Reputation: 30
I just did this tonight, actually. This is the guide I used.

http://linux.org.mt/article/ttfonts

I'm on Mandrake, but used the "Other Distributions" instructions just fine. Not sure if Debian works exactly the same, but maybe enough to get you started.
 
Old 03-14-2005, 12:29 AM   #5
mking007
Member
 
Registered: Jul 2003
Location: China
Distribution: Red Hat, SuSE and Novell Linux Desktop
Posts: 96

Rep: Reputation: 15
http://www.redhat.com/docs/manuals/l...1-x-fonts.html





Adding Fonts to Fontconfig

Adding new fonts to the Fontconfig subsystem is a straightforward process.

1.

To add fonts systemwide, copy the new fonts into the /usr/share/fonts/local/ directory.

To add fonts for an individual user, copy the new fonts into the .fonts/ directory in the user's home directory.
2.

Use the fc-cache command to update the font information cache, as in the following example:

4fc-cache <path-to-font-directory>

In this command, replace <path-to-font-directory> with the directory containing the new fonts (either /usr/share/fonts/local/ or ~/.fonts/).


Adding Fonts to xfs

To add fonts to the core X font subsystem (xfs), follow these steps:

1.

If it does not already exist, create a directory called /usr/share/fonts/local/ using the following command as root:

mkdir /usr/share/fonts/local/

If creating the /usr/share/fonts/local/ directory is necessary, it must be added to the xfs path using the following command as root:

chkfontpath --add /usr/share/fonts/local/

2.

Copy the new font file into the /usr/share/fonts/local/ directory
3.

Update the font information by issuing the following command as root:

ttmkfdir -d /usr/share/fonts/local/ -o /usr/share/fonts/local/fonts.scale

4.

Restart the xfs font server using the following command as root:

service xfs reload



http://www.redhat.com/docs/manuals/l...1-x-fonts.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy way to install fonts signal99 Fedora 1 02-06-2005 07:39 PM
Easy one - windows partitions under mandrake linux? Roland Emmerich Mandriva 3 05-31-2004 09:41 AM
windows fonts for linux? kasperl Linux - Newbie 5 11-02-2003 11:05 AM
Installing Windows Fonts in Linux Ken Ju-On Linux - Newbie 11 07-07-2003 06:18 PM
Linux installation...problem in X-windows...Please help...easy question... shanlz Linux - General 13 10-19-2002 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration