Fedora Linux Support Community & Resources Center
  #1  
Old 20th May 2004, 12:48 AM
pyrrhus8500 Offline
Registered User
 
Join Date: May 2004
Posts: 2
FC2 TrueType Problems

I just installed FC2 and have been working on getting my system up and running, but I've been having problems with my windows truetype fonts.

I did the following to install the fonts:

cp /win/c/windows/Fonts/*.ttf /usr/local/fonts/ttf
cd /usr/local/fonts/ttf
mkfontscale
mkfontdir

then I edited /etc/X11/fs/config and added the path

restarted xfs and X

All of this works and the fonts show up in my browser, but I get this error from xfs:

Warning: FreeTypeRasteriseGlyph() returns an error,
^Iso the backend tries to set a white space.

sometimes I get this error:
FreeType: couldn't find encoding 'ascii-0' for '/usr/local/fonts/ttf/tahoma.ttf'
but problems persist even if I remove this font.


The problem is that anti-aliasing is not being done and the fonts are horrible. I was wondering if anyone has any ideas?
Reply With Quote
  #2  
Old 20th May 2004, 01:07 AM
cgriffin's Avatar
cgriffin Offline
Registered User
 
Join Date: May 2004
Location: Raleigh, NC
Posts: 56
Did you check the release notes? i think the instructions are in there. AFAIK, RH went to fontconfig/xft back with RH 8.0 I think so I don't think you need to do what you're trying to do (i.e. with fontconfig all you need to do is drop fonts in your ~/.fonts/ directory I believe), but in any event i recall seeing the instructions in the release notes. I think you can also reach the fontconfig font directory in nautilus at fonts:///

HTH
__________________
Chess Griffin
Reply With Quote
  #3  
Old 20th May 2004, 01:33 AM
pyrrhus8500 Offline
Registered User
 
Join Date: May 2004
Posts: 2
thanks

the release notes have a good description of how new font configuration works. I'm surprised that the old way worked in FC1, but I guess things have changed.

For anyone wondering, the solution is to copy the fonts into /usr/share/fonts/<dir name>

then run fc-cache <dir name> and you're all set
Reply With Quote
  #4  
Old 20th May 2004, 01:42 AM
cgriffin's Avatar
cgriffin Offline
Registered User
 
Join Date: May 2004
Location: Raleigh, NC
Posts: 56
Slight modification to your last post: I don't think it is /usr/share/fonts/<dir name>. I think it is just /usr/share/fonts/.

Here is the precise instructions from the release notes:

"Adding new fonts to the fontconfig font subsystem is more straightforward; the new font file only needs to be copied into the /usr/share/fonts/ directory (individual users can modify their personal font configuration by copying the font file into the ~/.fonts/ directory).

After the new font has been copied, use fc-cache to update the font information cache:

fc-cache <directory>

(Where <directory> would be either the /usr/share/fonts/ or ~/.fonts/ directories.)

Individual users may also install fonts graphically, by browsing fonts:/// in Nautilus, and dragging the new font files there."
__________________
Chess Griffin

Last edited by cgriffin; 20th May 2004 at 01:45 AM.
Reply With Quote
  #5  
Old 24th May 2004, 04:30 PM
melgrim's Avatar
melgrim Offline
Registered User
 
Join Date: May 2004
Location: Lisbon - Portugal
Age: 29
Posts: 34
Unhappy

I've copied *.ttf to /usr/share/fonts/
did: fc-cache /usr/share/fonts/
restarted and nothing happened...
I still can't use the fonts

Can anyone help me?
__________________
The things I wouldn't do for a nice signature...
Reply With Quote
  #6  
Old 5th June 2004, 04:56 AM
taylor65 Offline
Registered User
 
Join Date: Jan 2004
Posts: 806
I found that adding fonts to your .fonts directory works, but make sure that the font files aren't compressed (plus I had to reboot to make them active - I don't know what process to restart to get the fonts to work without a reboot). I wasn't able to get the fonts working when adding them to /usr/share/fonts. Also, the fonts:/// in Nautilus doesn't work, which might be caused by the fact that Fedora has all menu adding/changing turned off (which is really, really, annoying).
Reply With Quote
  #7  
Old 5th June 2004, 05:48 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
melgrim - you didn't quite follow all the instructions. There are a couple of steps you missed. You can just go back and do them without having to "start over."

melgrim and taylor65 - you don't need to restart the computer to get these things working. Just log out as your regular user, then press CTRL+ALT+BACKSPACE - this "reboots" the X server and ensures the fonts are available.

Remember, folks, this ain't Windows - the UI is not tied directly to the OS: it's just another running program. You can kill the UI without bringing down the whole system.
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
  #8  
Old 5th June 2004, 06:27 AM
Finalzone's Avatar
Finalzone Online
Community Manager
 
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,367
A simple way to install fonts

If you run KDE as desktop, go to Control Center-> System Admninstration -> Font Installer. Log as root and install your favoirte fonts for all users. You can install fonts for a specific users.
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 18 Spherical Cow x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Toshiba Satellite C650D - OS: Fedora 19 Schrödinger's Cat (preview release) x86-64 and Microsoft Windows 7 64-bit
Reply With Quote
  #9  
Old 29th June 2004, 02:17 PM
Thetargos's Avatar
Thetargos Online
Registered User
 
Join Date: May 2004
Location: Mexico City, Mexico
Age: 35
Posts: 4,418
From wish list

It could be done from GUI if someone made the font installer go trhough PAM checks to ask for a root password, then install the fonts to the systemwide directories, and rebuild the cache, close the program and enjoy!
__________________
If ain't broken, don't fix it! :eek:
If can be improved, go for it! :cool:

FedoraForum Community forums lurker.
Fedora user since RHL 5.2 :cool:

Systems: Laptop, Main System, Netbook.
Reply With Quote
  #10  
Old 9th March 2006, 05:50 PM
jonniebigodes Offline
Registered User
 
Join Date: Mar 2006
Posts: 107
ok....here's the thing...i have a pc where fedora core 2 is installed only, i don't have windows installed.
so i was hoping you could tell me where to find the ttf fonts, in order for me to install them.....
thanks in advance....
Reply With Quote
  #11  
Old 10th March 2006, 06:11 PM
Thetargos's Avatar
Thetargos Online
Registered User
 
Join Date: May 2004
Location: Mexico City, Mexico
Age: 35
Posts: 4,418
Usually you install fonts under either /home/$USER/.fonts or /usr/share/fonts/{truetype, ttf, etc} You only need to copy the .ttf files there and upon session restart all your applications will see the fonts (you can also find the fonts without the restart, but some apps require that the session is restarted).
__________________
If ain't broken, don't fix it! :eek:
If can be improved, go for it! :cool:

FedoraForum Community forums lurker.
Fedora user since RHL 5.2 :cool:

Systems: Laptop, Main System, Netbook.
Reply With Quote
  #12  
Old 10th March 2006, 08:15 PM
jonniebigodes Offline
Registered User
 
Join Date: Mar 2006
Posts: 107
ok...i've got /usr/share/fonts/ so what i'm asking now is do i have to create the folder truetype for instance?
Reply With Quote
  #13  
Old 10th March 2006, 11:24 PM
Thetargos's Avatar
Thetargos Online
Registered User
 
Join Date: May 2004
Location: Mexico City, Mexico
Age: 35
Posts: 4,418
Yes, you can do that...

There are other paths for fonts (more tied together to the X server, under /usr/X11R6), so vitually just creating a directory like ttf or truetype and placing your fonts there, is more than enough.

For older XF86 machines, you would have had to reload and restart the font server (xfs), however IIRC that is no longer necessary with Xorg. However, since FC2 uses Xorg 6.7 (virtually a clone of XF86 4.3) you may require to do so:
Code:
su
password:
/sbin/service xfs reload
/sbin/service xfs restart
Still an X restart may be required, so you could simply press ctrl+alt+backspace at the GDM (graphical login) prompt or from your session.
__________________
If ain't broken, don't fix it! :eek:
If can be improved, go for it! :cool:

FedoraForum Community forums lurker.
Fedora user since RHL 5.2 :cool:

Systems: Laptop, Main System, Netbook.
Reply With Quote
Reply

Tags
fc2, problems, truetype

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install MS truetype fonts! regpotsyq Using Fedora 14 5th November 2010 10:39 AM
truetype fonts johannlo Using Fedora 6 16th November 2006 04:59 AM
Microsoft's TrueType ? jgionet Using Fedora 5 3rd January 2005 01:26 AM


Current GMT-time: 18:14 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat