Akregator/kwebkitpart minimum font size?

Thomas Tanghus thomas at tanghus.net
Wed Aug 28 12:11:00 UTC 2013


On Tuesday 27 August 2013 10:34 Felix Miata wrote:
> 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.

>From that table it should be 91.8 DPI. 20", 1600*900.
 
> > 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.

:) Anyways, I've now changed to using KHTML, but the problem still exists.
I've taken some screenshots of how Akregator[1], Konqueror[2] and Firefox[3]
renders a paragraph set to 16px[4] and all but Akregator shows it OK.
So the problem is not in webkit, but rather in Akregator I assume.

[1] http://owncloud.tanghus.net/public.php?service=files&token=e38ba59a9bf364aaca56162f0608ea4f381a8430
[2] http://owncloud.tanghus.net/public.php?service=files&token=3d9d3de8356b2c7555700cddcb51ef7067f1705b
[3] http://owncloud.tanghus.net/public.php?service=files&token=ebcb8f719c8330df9448a843fb77b30f43438da3
[4] http://ing.dk/artikel/fem-koebenhavnske-broer-staar-til-store-forsinkelser-efter-pihl-konkurs-161253
-- 
Med venlig hilsen / Best Regards

Thomas Tanghus




More information about the kubuntu-users mailing list