Jump to content

Cannot use my own TTF fonts in apps!


Art
 Share

Recommended Posts

Hi Folks:

 

I have loaded TTFs into KDE ccontrol center through Font INstall, But I am unable to use themin applications, Menus etc. How can I use these fonts in my applications ?

Also, Floppy drive reads only one floppy, only once.

 

 

Thanks for your Help.

 

Art

Link to comment
Share on other sites

Also, Floppy drive reads only one floppy, only once.

You're probably used to using Windows, where you can switch out Floppies with the Window still open, and the new floppy files will appear.

 

Not so with Linux.

 

You'll have to "umount" (not unmount) the floppy and "mount" it again when you put a new floppy in the drive.

Or if you use the setting for automount in the fstab file...that works too.

 

So for the first option.. you'll type this in the shell:

 

mount /mnt/floppy (for the first disk)

umount /mnt/floppy (unmounts first disk)

mount /mnt/floppy (mounts second disk)

Edited by RanchNachos
Link to comment
Share on other sites

HI:

I was trying to use the Add//Remove software programs in K-menu to get some additional programs loaded, but I get a notice everytime I try saying.

freetype.1.en not found, please load,

fontconfig.* not found,

and a few other stuff.

 

I cannot proceed further. What should I do?

 

Actually my desktop looks good now, I loaded my TTFs, I am looking for Latex where can I find it for loading. I still need an external modem.

Can you also let me know how to remove Win2K , should I just reformat that partition, and let Linux remain.

 

Thanks,

Art

Link to comment
Share on other sites

Short answer, try this command and see if this solves your problem:

 

$ su

# fc-cache -f -v

 

Long answer:

 

I am not sure about LaTEX accessing TTF, but to install TTF manually, you can perform the following procedure (assume you are using Mandrake Linux):

 

1) Create a new directory inside /usr/share/fonts/ where your fonts will be installed (Drakfont will create its own font directory, but I prefer to create one on my own):

 

$ su

# cd /usr/share/fonts/ttf/

# mkdir user

 

2) Copy all the truetype font files to this directory:

 

# cd {to the path where all TTF fonts are located}

# cp *.ttf /usr/share/fonts/ttf/user

# cp *.TTF /usr/share/fonts/ttf/user

 

3) Tell fontconfig to scan any new fonts being installed in the system:

 

# fc-cache -f -v

 

4) For applications that don't use fontconfig, it's a bit trickier. Both KDE-3.x and Gnome 2.x based apps use fontfonfig without problem. OpenOffice, however, does not access fontconfig but uses its own font facing/naming system; to make OpenOffice recognize these new TTF fonts, you can do this:

 

# cd /usr/share/fonts/ttf/user

# mkfontscale

# mkfontdir

 

Then adding fontpath and restarting X Font Server:

 

# chkfontpath -a /usr/share/fonts/ttf/user

# service xfs restart

 

Notice that step 4 is only needed for non-fontconfig apps, and nowadays only a few remains: such as OpenOffice.org, or Mozilla non-Xft version (w/ no anti-aliasing).

Edited by zero0w
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...