Review Request 114907: Make KFontUtils::adaptFontSize be a bit more exact

Albert Astals Cid aacid at kde.org
Wed Aug 13 22:29:14 BST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/114907/
-----------------------------------------------------------

(Updated ago. 13, 2014, 9:29 p.m.)


Status
------

This change has been discarded.


Review request for kdelibs and Jeremy Whiting.


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
-----

  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/20140813/cc578918/attachment.htm>


More information about the kde-core-devel mailing list