Bug 110681

Summary: Undesirable Behavoir of startkde script
Product: [Fedora] Fedora Reporter: A tech <tech>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED UPSTREAM QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: tech
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-15 23:54:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description A tech 2003-11-23 06:11:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016

Description of problem:
The startkde script, which launches kde includes several lines
beginning at line 120, which reset the font path and default to mostly
inaccessable font paths. 

This also has the effect of making TTF and Type 1 fonts in
/usr/share/default sometimes not appearing in applications. 

Version-Release number of selected component (if applicable):
3.1.4-1

How reproducible:
Always

Steps to Reproduce:
1.starkde 
2.
3.
    

Actual Results:  Font path is reset to defaults which are not
appropriate to fontconfig / Xft2. 

This is espcially acute with Scribus,the desktop publishing
application, as it has had its font discovery mechanism substantially
reworked to work with smoothly work with fontconfig and Xft2.   

This causes fonts which are properly installed in either the
X11/libs/fonts or usr/share/fonts/default to be inaccessible.

Expected Results:  With fontconfig, *no* application should need to
reset the font path, or include non-standard directories to access fonts. 

Additional info:

As Kfontinstaller is not enabled in RH/Fedora packaging of KDE base,
this has the effect of overriding and reseting the font path to
:$HOME/.fonts/kde-override.  This is not an intuitive place for end
users to add fonts. The current script makes these directories (empty
other wise) the defaults and preferred font directories. There are
two: one for True Type, one for Type 1.

Recommendation: Eliminate these lines from startkde. This will also
help to speed up loading of KDE, especially with many fonts added by a
user.