LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Wide font-spacing of TrueType fonts (http://www.linuxquestions.org/questions/fedora-35/wide-font-spacing-of-truetype-fonts-115282/)

Romendo 11-12-2003 01:51 PM

Wide font-spacing of TrueType fonts
 
I did the following to install the TrueType fonts from my Windows partition:

- copy them to /usr/X11R6/lib/X11/fonts/myfonts
- set up fonts.scale and fonts.dir using ttmkfdir
- added directory to /etc/fonts/local.conf
- added directory to /etc/X11/fs/config
- added directory to /etc/X11/XFConfig-4
- restarted xfs
- ran fc-cache
- restarted X

When I use GDK_USE_XFT=1 then the fonts show up in GNOME/Preferences/Fonts and xfontsel. They seem to use the freetype auto-hinting code, which is not terribly good. The fonts look great in Mozilla, though.

When I use GDK_USE_XFT=0 then the TrueType fonts are displaying using some extreme font-spacing. Since the font-rendering is much better this way I would prefer to use it. However, I have no clue why the font-spacing is so huge. What can be done about it?

I got above instructions from various sites, e.g. http://www.pl-forum.de/t_multimedia/...en-redhat.html

Thanks,
Romendo

wiraone 11-13-2003 03:45 AM

I'm using the following guide and have no problem whatsoever with M$ fonts

http://corefonts.sourceforge.net/

The easiest so far (at least for me :))

Romendo 11-13-2003 04:58 AM

Well, I can see the fonts. When I was playing around in gome-font-properties I actually found out that Tahoma is the only font with huge spacing. Maybe it has to do with double-byte characters or something like that. No idea.

Anyway, I downloaded the freetype source RPM and rebuilt it with the byte code interpreter. I just with I didn't have to do that.

I also seem to recall that the Tahoma fonts aren't always the same. I got mine from my XP partition.

I would like to resolve the problem without enabling the byte code interpreter. It is really strange because I never had this problem before. It worked fine on Slackware.


All times are GMT -5. The time now is 04:45 AM.