[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDE 3.4 and default fonts
From:       S.Çağlar Onur <caglar () uludag ! org ! tr>
Date:       2005-03-29 10:22:13
Message-ID: 1112091733.9641.6.camel () poseidon ! cekirdek ! int
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi;

Sal, 2005-03-29 tarihinde 11:51 +0000 saatinde, Christian Metzen yazdı:
> Hi,
> 
> in the moment i'm packaging the newest KDE version for our Repository.
> so far everything works fine, good job! But there's one thing thats
> still really annoying, the default font behaviour.
> 
> I already applied Patches to kglobalsettings.cpp (kdelibs) and
> fonts.cpp (kdebase) to use Sans Serif with point size 10 as default.
> This works fine when starting kpersonalizer at the first login, but
> the after applying all standard settings there the fonts get still
> changed to Bitstream Vera, point size 12. I patched Plastik.xml too,
> so that it uses the changed fonts and sizes. But still no luck. He
> always uses the wrong and oversized ones.

Seems like kpersonalizer overrides your settings, from kdebase-3.4.0/kpersonalizer/keyecandypage.cpp 

Global::config()->setGroup("General");
userFonts.append(KGlobal::config()->readEntry("fixed","courier,10,-1,5,50,0,0,0,0,0"));
userFonts.append(KGlobal::config()->readEntry("font", "helvetica,12,-1,5,50,0,0,0,0,0"));
userFonts.append(KGlobal::config()->readEntry("menuFont", "helvetica,12,-1,5,50,0,0,0,0,0"));
userFonts.append(KGlobal::config()->readEntry("taskbarFont", "helvetica,11,-1,5,50,0,0,0,0,0"));
userFonts.append(KGlobal::config()->readEntry("toolBarFont", "helvetica,12,-1,5,50,0,0,0,0,0"));
KGlobal::config()->setGroup("WM");
userFonts.append(KGlobal::config()->readEntry("activeFont", "helvetica,12,-1,5,75,0,0,0,0,0"));

Also try to change these...

> But when i go to the Control Center and enable the default Font
> Settings everything is as expected. Really strange...
> 
> Any Ideas what needs to be changed to get this working from the
> beginning? Would be really nice for our Users. 
> 
> Thanks in advance for you help.

-- 
S.Çağlar Onur <caglar@uludag.org.tr>
http://cekirdek.uludag.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic