kde Digest, Vol 2, Issue 17

yo _ exhausted01 at hotmail.com
Thu May 15 06:36:35 BST 2003


>Date: Tue, 13 May 2003 22:49:33 -0700
>From: James Richard Tyrer <tyrerj at acm.org>
>Subject: Re: [kde] fontconfig and KDE applications
>To: kde at mail.kde.org
>Message-ID: <3EC1D8ED.2000707 at acm.org>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>
>yo _ wrote:
> > Hi, i just installed KDE 3.1 and boy is it a BIG step up from GNOME 1.4.
> > haha I have two problems that i'm sure someone on the list can help me
> > with.
> >
> > I have a font configured in my KDE control panel (tahoma) and it works
> > universally well across all the KDE applications, but once i add the
> > directory for the tahoma font in the fontconfig fonts.conf file, tahoma
> > is not shown and the default helvetica font is shown in all KDE
> > applications. The font works perfectly again in KDE applications if i
> > simply remove the font directories in fonts.conf. I rechecked my control
> > panel and tahoma is still configured. How can i fix this so that i can
> > have valid font directories in fonts.conf while still having all KDE
> > applications displaying my fonts correctly. The reason i ask is that i'm
> > running a GTK application that requires valid font directory entries in
> > fonts.conf.
> >
>A little more information please.
>
>Where have you installed: tahoma.ttf?
>

/usr/local/share/fonts/ttfonts/tahoma.ttf

I'm using NetBSD 1.6, with XFree86 4.2.0 w/o a font server. (although i 
think this info is irrelevant).
As probably suspected, all my font paths are set up and working correctly in 
the XFree86 setup.

>Note that using the KDE font installer doesn't work with FontConfig
>unless you install in a global directory.
>

Sorry for the ignorance, but what exactly do you mean by global directory?

>Did you convert the file name to all lower case?
>

yes.

>How did you install the font?

Very easily ;) I copied it to my own special folder (see above) created the 
necessary fonts.scale and fonts.dir files (fonts.alias too). Afterwords I 
added the font path to my XFree86 config file, and voila! the font was 
usable in X applications.

>What directories are listed in fonts.conf?
>

uh...very typical ones at first that didn't contain any fonts. I observed 
that when there were no valid font directories in fonts.conf, KDE 
applications would correctly use the font I selected in the control center. 
After entering a valid directory (such as the one where i installed 
"tahoma.ttf"), KDE applications refused to acknowledge Control Panel's 
settings, and began using the default (or way incorrect) fonts.

> > My other problem is that when i first installed KDE i was able to change
> > the timezone settings for the clock. Soon after all my timezones
> > vanished, and i'm left without a clue of how to re-add timezones of my
> > choice. Does this have something to do with my O/S? or can you add extra
> > timezones in a configuration file somewhere for the kde clock?
>
>I don't know.  But, to get this straight, you open Control Center and
>go to:
>
>	System Administration => Date & Time
>
>You click the: "Administrator Mode" button, enter the root password in
>the KDEsu widget and then the list of time zones is empty.  I sure
>hate it when that happens. :-(
>

Oh that makes tons of sense. I did try to edit the time settings and was 
prompted to enter the root password. Quickly after that, that is when i 
noticed that the timezones selections were disappeared. Anyone know a 
solution for getting the timezones back? I'm guessing this is a bug.

Thanks a lot!
-rian

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list