Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XF86Config font problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
GeKA
n00b
n00b


Joined: 27 Sep 2002
Posts: 33
Location: Graz / Styria

PostPosted: Thu Nov 14, 2002 1:42 pm    Post subject: XF86Config font problem Reply with quote

Hi!

I've installed some new fonts in the truetype directory. My /etc/X11/XF86Config file looks like this now:

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

I can use the Fonts in the truetype directory everywhere but in gimp.

When i enter "xset -q" the output is:

/usr/kde/3/share/fonts/override,
/home/geka/.kde3/share/fonts/override,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/Speedo/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/CID/,
/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/home/geka/.kde3/share/fonts,
/usr/kde/3/share/fonts

why doesn't it show my truetype directory? Any Idea?

thx
Back to top
View user's profile Send private message
jimmythegoat
n00b
n00b


Joined: 10 Nov 2002
Posts: 15

PostPosted: Thu Nov 14, 2002 3:37 pm    Post subject: Reply with quote

Sounds like a problem with Xft. There have been issues with xft and kde and gimp recently: posted here.

Check your xftconfig files.
_________________
Spoon!
Back to top
View user's profile Send private message
theclaus
n00b
n00b


Joined: 08 Oct 2002
Posts: 64
Location: Boise, ID

PostPosted: Thu Nov 14, 2002 4:06 pm    Post subject: Reply with quote

Could be going on a limb here but do you have freetype module loading. Here is a snip from my XF86Config.

Code:

Section "Module"
        Load  "dbe"             # Double-buffering
        Load  "GLcore"          # OpenGL support
        Load  "dri"             # Direct rendering infrastructure
        Load  "glx"             # OpenGL X protocol interface
        Load  "extmod"          # Misc. required extensions
#       Load  "v4l"             # Video4Linux
        # Load  "pex5"          # PHIGS for X 3D environment (obsolete)
        # Load  "record"        # X event recorder
        # Load  "xie"           # X Image Extension (obsolete)
        # You only need the following two modules if you do not use xfs.
        Load  "freetype"         # TrueType font handler
        Load  "type1"           # Adobe Type 1 font handler
EndSection


If that isn't in there then it won't load the fonts.
Back to top
View user's profile Send private message
Craigo
Apprentice
Apprentice


Joined: 09 Aug 2002
Posts: 249
Location: /dev/life

PostPosted: Thu Nov 14, 2002 11:14 pm    Post subject: Reply with quote

check /etc/X11/fs and see if:

Code:
/usr/X11R6/lib/X11/fonts/truetype


is there?

I'm not sure what version of X you're running. I'm currently running X4.2.1.

If you are running the latest and greatest, take a look in /etc/fonts/fonts.conf

and make sure those lines are added in:

Code:

<!-- Font directory list configured for Gentoo -->

        <dir>/usr/X11R6/lib/X11/fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/local</dir>
        <dir>/usr/X11R6/lib/X11/fonts/misc</dir>
        <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
        <dir>/usr/X11R6/lib/X11/fonts/Speedo</dir>
        <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/sharefont</dir>
        <dir>/usr/X11R6/lib/X11/fonts/freefont</dir>
        <dir>/usr/X11R6/lib/X11/fonts/truetype</dir>
        <dir>/usr/share/fonts</dir>
        <dir>~/.fonts</dir>


Be sure you are not in X. Be root and type /etc/init.d/xfs restart, then start X again. I know this is a bit of a pain but you should be able to tell where the files are linked to etc.

HTH

-/Craigo/-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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