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

List:       kde-core-devel
Subject:    Re: Font size setting inconsistency in kcontrol with DPI > 75 (more info)
From:       Lars Knoll <lars () trolltech ! com>
Date:       2001-01-29 13:32:07
[Download RAW message or body]

On Monday 29 January 2001 11:48, rik@kde.org wrote:
> #if Guillaume Laurent
>
> > - in kcontrol, look'n feel->fonts, click on "use defaults". For "File
> > Manager" fonts I get helvetica 7, which looks fine.
> >
> > - go to "File Browsing", "Appearance" tab, select "small" font, apply.
> >
> > - go back to look'n feel->fonts : "File Manager" font is now helvetica
> > 10, way too big.
> >
> > I found the reason for this : kcontrol/fonts/fonts.cpp, in the KFont
> > ctor, the font sizes are set with setPixelSize(), while every other
> > kcontrol module use setPointSize().
>
> Yes, same here.
>
> > But more generally, the problem is that the current hardcoded *point*
> > sizes don't look very good for DPIs higher than 75 : fonts are just too
> > big. Even the "small" setting for konqueror font in filebrowsing mode is
> > quite large on my screen.
> >
> > Dirk mentionned a patch regarding DPI settings, but I can't find anything
> > about it in kcontrol, and that's definitely where the problem is.
>
> Well, I switched kcmfonts to use pixel sizes for _defaults_, so when
> you first run KDE, you get fonts that are sized according to display
> resolution.
>
> This can be changed back to point sizes... if that works now.

Argll... That is really asking for trouble. Could we please agree on 
something? Either pixels or points. Mixing them is the worst of all 
possibilites.

Lars

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

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