LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   add windows fonts to linux -- easy way to do this? (https://www.linuxquestions.org/questions/linux-newbie-8/add-windows-fonts-to-linux-easy-way-to-do-this-301257/)

r3dhatter 03-13-2005 06:57 PM

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

comprookie2000 03-13-2005 06:59 PM

What distro?

r3dhatter 03-13-2005 08:38 PM

debian sarge, 2.6 series kernel although there is no apt-get for the font I want, it is on my windows computer.

toes 03-13-2005 11:05 PM

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.

mking007 03-14-2005 12:29 AM

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


All times are GMT -5. The time now is 07:18 PM.