Frederic Crozat wrote:

>On Thu, 10 Oct 2002 02:18:43 +0000, Victor wrote:
>
>  
>
>>Frederic Crozat wrote:
>>
>>    
>>
>>>On Wed, 09 Oct 2002 04:54:54 +0000, Victor wrote:
>>>
>>> 
>>>
>>>      
>>>
>>>>Frederic Crozat wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Le Tue, 08 Oct 2002 14:15:22 +0000, Victor a écrit :
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>>>I checked /etc/X11/XftConfig and it looks fine. I also ran the ttmkfdir 
>>>>>>on the font dirs with truetype fonts.
>>>>>>
>>>>>>One new thing I noticed is that root can run gnome-terminal with 
>>>>>>GDK_USE_XFT=1, but there are still error messages:
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>Don't try to use gnome-terminal to check your fonts, it uses non standard
>>>>>technique to get them.. Use gedit instead..
>>>>>
>>>>>Try running :
>>>>>gconftool-2 -u /desktop/gnome/interface/font_name
>>>>>/desktop/gnome/interface/monospace_font_name
>>>>>
>>>>>to reset fonts to known working names..
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>I tried the same tests with gedit:
>>>>When root does it:
>>>>[root@triumph root]# export GDK_USE_XFT=1
>>>>[root@triumph root]# gedit
>>>>[root@triumph root]# export GDK_USE_XFT=0
>>>>[root@triumph root]# gedit
>>>>
>>>>Regular user:
>>>>$ export GDK_USE_XFT=1
>>>>$ gedit
>>>>
>>>>** (gedit:12167): WARNING **: Cannot open font file for font Arial 10
>>>>   
>>>>
>>>>        
>>>>
>>>You didn't unset font settings as I told you to do..
>>>
>>>      
>>>
>>I did but there was no effect.
>>$ gconftool-2 -R /desktop/gnome/interface
>>*** monospace_font_name = Monospace 10
>> toolbar_style = both
>> gtk_key_theme = Default
>>*** font_name = Sans 10
>> cursor_blink_time = 1200
>> menus_have_tearoff = false
>> cursor_blink = true
>> use_custom_font = false
>> toolbar_icon_size = (no value set)
>> menus_have_icons = true
>> can_change_accels = (no value set)
>> accessibility = false
>> status_bar_meter_on_right = false
>> gtk_theme = Default
>> menubar_detachable = false
>> toolbar_detachable = true
>>
>>Any other ideas? =-(
>>There must be an easier way to deal with and get nice fonts for linux.
>>    
>>
>
>Did you, by any chance, installed not Mdk freetype ??
>  
>
There are the freetype packages I have installed:
$ rpm -qa |grep freetype
freetype2-devel-2.0.9-3mdk
freetype-1.3.1-17mdk
freetype2-2.0.9-3mdk
freetype-tools-1.3.1-17mdk

These are the modules X11 is loading:
Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

So it looks like freetype is ok. Isn't it odd that freetype fonts work 
fine with the root user and not with my local user?  I created a new 
local user and it appears to be having the same problems.


Reply via email to