Review Request 114907: Make KFontUtils::adaptFontSize be a bit more exact
Albert Astals Cid
aacid at kde.org
Thu Jan 9 22:22:47 GMT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/114907/
-----------------------------------------------------------
(Updated Jan. 9, 2014, 10:22 p.m.)
Review request for kdelibs and Jeremy Whiting.
Changes
-------
Fix typo
Repository: kdelibs
Description
-------
Not all fonts are linear in drawn size against their point size, the old code assumes so and simply guesses the next font size taking into account the pointSize we drawn, the geometry we got and the geometry we want. The new code is a bit slower but will make sure that we get better pointSize results in non linear fonts.
Diffs (updated)
-----
kdeui/fonts/kfontutils.cpp 3a80039
Diff: https://git.reviewboard.kde.org/r/114907/diff/
Testing
-------
Blinken still works. Font sizes are similar.
Thanks,
Albert Astals Cid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140109/ff9a69fa/attachment.htm>
More information about the kde-core-devel
mailing list