View previous topic :: View next topic |
Author |
Message |
smite Apprentice
Joined: 22 Feb 2003 Posts: 266 Location: /dev/hda4
|
Posted: Thu Jul 29, 2004 8:39 pm Post subject: Xorg and truetype |
|
|
I'm using xorg and ion3. I followed the xorg and fonts mini-howto
When i run ion, all the fonts are ugly and hard to read. Here's what i have for fontpaths:
Code: | FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/sharefont/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/artwiz/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/terminus/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/lfp-fix/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/unifont/" |
Any insight? |
|
Back to top |
|
|
smite Apprentice
Joined: 22 Feb 2003 Posts: 266 Location: /dev/hda4
|
Posted: Thu Jul 29, 2004 9:12 pm Post subject: |
|
|
Woah. Here's the output of fc-cache -fv:
Code: | fc-cache: "/usr/share/fonts/Type1": caching, 29 fonts, 0 dirs
fc-cache: "/usr/share/fonts": caching, 0 fonts, 20 dirs
fc-cache: "/usr/share/fonts/artwiz": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/corefonts": caching, 30 fonts, 0 dirs
fc-cache: "/usr/share/fonts/freefont": caching, 78 fonts, 0 dirs
fc-cache: "/usr/share/fonts/ttf": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/ttf/ja": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/ttf/ja/aqua": caching, 1 fonts, 0 dirs
fc-cache: "/usr/share/fonts/local": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/encodings": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/encodings/large": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/util": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/misc": caching, 55 fonts, 0 dirs
fc-cache: "/usr/share/fonts/75dpi": caching, 398 fonts, 0 dirs
fc-cache: "/usr/share/fonts/100dpi": caching, 398 fonts, 0 dirs
fc-cache: "/usr/share/fonts/cyrillic": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/Speedo": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/Type1": caching, 29 fonts, 0 dirs
fc-cache: "/usr/share/fonts/CID": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/TTF": caching, 22 fonts, 0 dirs
fc-cache: "/usr/share/fonts/ukr": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/afms": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/afms/adobe": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/terminus": caching, 18 fonts, 0 dirs
fc-cache: "/usr/share/fonts/ttf-bitstream-vera": caching, 10 fonts, 0 dirs
fc-cache: "/usr/share/fonts/unifont": caching, 2 fonts, 0 dirs
fc-cache: "/usr/local/share/fonts": skipping, no such directory
fc-cache: "/usr/share/fonts/75dpi": caching, 398 fonts, 0 dirs
fc-cache: "/usr/share/fonts/100dpi": caching, 398 fonts, 0 dirs
fc-cache: "/root/.fonts": skipping, no such directory
fc-cache: "/usr/share/fonts/corefonts/": caching, 30 fonts, 0 dirs
fc-cache: "/usr/share/fonts/terminus/": caching, 18 fonts, 0 dirs
fc-cache: "/usr/share/fonts/unifont/": caching, 2 fonts, 0 dirs
fc-cache: "/usr/share/fonts/Type1/": caching, 29 fonts, 0 dirs
fc-cache: "/usr/share/fonts/freefont/": caching, 78 fonts, 0 dirs
fc-cache: "/usr/share/fonts/artwiz/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/local/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/misc/": caching, 55 fonts, 0 dirs
fc-cache: "/usr/share/fonts/Speedo/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/CID/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/ttf-bitstream-vera/": caching, 10 fonts, 0 dirs
fc-cache: "/usr/share/fonts/util/": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/sharefont/": skipping, no such directory
fc-cache: "/usr/share/fonts/lfp-fix/": skipping, no such directory
fc-cache: "/usr/share/fonts/TTF/": caching, 22 fonts, 0 dirs
fc-cache: "/usr/share/fonts/75dpi/": caching, 398 fonts, 0 dirs
fc-cache: "/usr/share/fonts/100dpi/": caching, 398 fonts, 0 dirs
fc-cache: succeeded |
0 ttf fonts? |
|
Back to top |
|
|
beesea Apprentice
Joined: 07 Mar 2003 Posts: 273
|
Posted: Fri Jul 30, 2004 3:21 am Post subject: |
|
|
Actually it seems that your fonts are probably installed correctly. You do have some TTFs installed (corefonts and vera fonts were detected ok). I don't know anything about ion, but I'd guess that your ion configuration is what's causing the font problems. |
|
Back to top |
|
|
smite Apprentice
Joined: 22 Feb 2003 Posts: 266 Location: /dev/hda4
|
Posted: Fri Jul 30, 2004 3:30 pm Post subject: |
|
|
Woah... that's weird. When I rebooted, truetype worked. Then i rebooted again, and they're gone. |
|
Back to top |
|
|
Sipi Guru
Joined: 03 Apr 2003 Posts: 406 Location: Hungary
|
Posted: Fri Jul 30, 2004 3:47 pm Post subject: |
|
|
You have to add these fontpathes to /etc/fonts/local.conf, too. This controls the antialiasing for applications.
(See About font in X11 (Xfree, xorg, whatsoever topic.)
Sipi |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Fri Jul 30, 2004 5:44 pm Post subject: |
|
|
Add the paths to /etc/X11/fs/config - may help.
Also, link the fonts to /usr/X11R6/lib/X11/fonts
I mean create symlinks to the font dirs, which reside in /usr/share/fonts/, in the dir /usr/X11R6/lib/X11/fonts (I solved some problems with Xorg fonts doing so). _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
smite Apprentice
Joined: 22 Feb 2003 Posts: 266 Location: /dev/hda4
|
Posted: Fri Jul 30, 2004 7:10 pm Post subject: |
|
|
No go... linked all the font dirs to /usr/X11R6/lib/X11/fonts. Here's /etc/fonts/local.conf:
Code: | <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
Enable sub-pixel rendering
<match target="font">
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
<dir>/usr/share/fonts/TTF/</dir>
<dir>/usr/share/fonts/corefonts/</dir>
<dir>/usr/share/fonts/terminus/</dir>
<dir>/usr/share/fonts/unifont/</dir>
<dir>/usr/share/fonts/Type1/</dir>
<dir>/usr/share/fonts/freefont/</dir>
<dir>/usr/share/fonts/artwiz/</dir>
<dir>/usr/share/fonts/local/</dir>
<dir>/usr/share/fonts/misc/</dir>
<dir>/usr/share/fonts/Speedo/</dir>
<dir>/usr/share/fonts/CID/</dir>
<dir>/usr/share/fonts/ttf-bitstream-vera/</dir>
<dir>/usr/share/fonts/util/</dir>
<dir>/usr/share/fonts/sharefont/</dir>
<dir>/usr/share/fonts/lfp-fix/</dir>
<dir>/usr/share/fonts/75dpi/</dir>
<dir>/usr/share/fonts/100dpi/</dir>
</fontconfig> |
If it is the Ion settings, then TTF should work in another WM, say fluxbox. I'll check on that...
btw, if I don't run XFS, will that require settings changes? |
|
Back to top |
|
|
smite Apprentice
Joined: 22 Feb 2003 Posts: 266 Location: /dev/hda4
|
Posted: Fri Jul 30, 2004 7:15 pm Post subject: |
|
|
ok... no TTF in kahakai or fluxbox. any other font config files to try? |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Sat Jul 31, 2004 6:18 am Post subject: |
|
|
Try this:
as root, cdc into a dir with true type fonts and execute
/usr/X11R6/bin/mkfontscale .
/usr/X11R6/bin/mkfontdir .
this will create font.scale and font.dir in the directory. Not sure if it helps though.
PS Do you have freetype installed? _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
beesea Apprentice
Joined: 07 Mar 2003 Posts: 273
|
Posted: Sat Jul 31, 2004 5:40 pm Post subject: |
|
|
Also, do you have the line:
in the "Module" section of you /etc/X11/xorg.conf? |
|
Back to top |
|
|
smite Apprentice
Joined: 22 Feb 2003 Posts: 266 Location: /dev/hda4
|
Posted: Sun Aug 15, 2004 11:00 am Post subject: |
|
|
I have:
Code: | Load "type1"
Load "speedo"
Load "freetype"
Load "xtt"
|
strange... they seem to work randomly. |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
Posted: Sun Aug 15, 2004 11:51 am Post subject: |
|
|
I have :
Code: | Load "type1"
Load "speedo"
Load "freetype"
# Load "xtt" |
in my xorg.conf.
AFAIK the modul xtt must be unload to get it work proper. _________________ useful Xterm, Aterm and RXVT-Unicode features |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|