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

List:       kopete-devel
Subject:    Re: [kopete-devel] [Bug 98583] Chat style uses wrong font size
From:       Richard Smith <kde () metafoo ! co ! uk>
Date:       2005-02-05 16:26:19
Message-ID: 200502051626.20158.kde () metafoo ! co ! uk
[Download RAW message or body]

On Saturday 05 February 2005 14:40, Iori Yagami wrote:
> if i change the dpi , the global KDE fonts change , but the kopete
> chatwindow font is always the same.
[...]
> it seems by changing the dpi , all the fonts change size , except the khtml
> rendered fonts

From khtml/rendering/font.cpp:

void Font::update( QPaintDeviceMetrics* devMetrics ) const
[...]
    const int lDpiY = kMax(devMetrics->logicalDpiY(), 96);

Oh dear. This line is the cause of your bug. Basically: KHTML doesn't respect 
vertical DPY less than 96.
-- 
Thanks,
Richard
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

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

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