Akregator/kwebkitpart minimum font size?

Felix Miata mrmazda at earthlink.net
Tue Aug 27 14:34:20 UTC 2013


On 2013-08-27 12:00 (GMT+0200) Thomas Tanghus composed:

> My display is 96 DPI as reported by both xdpyinfo and X, and testing with the
> link you suggested, kwebkitpart does indeed report it wrongly as 105 DPI,
> while KHTML reports it as 96 DPI. Interestingly Rekonq, which uses qtwebkit,
> reports it correctly, so it must be possible to "instruct" webkit to use the
> correct DPI.

96 has likely been forced by X configuration. What is your display size and 
resolution? IOW, what is its actual DPI? You can probably find it on 
http://fm.no-ip.com/PC/displays.html more easily than calculating it.

> If I force fonts DPI to 96 kwebkitpart reports it correctly, while KHTML
> reports it as 0 DPI :D Both renders the same in Konqueror though, so it seems
> kwebkitpart isn't initialized with Konqs settings when used in Akregator.

Konq is flaky WRT the script that computes DPI. If you reload enough times, 
it will report a non-zero value.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/




More information about the kubuntu-users mailing list