D6695: Fix text labels in sidebar occasionally rendering cut off
Henrik F.
noreply at phabricator.kde.org
Fri Jul 14 07:10:30 UTC 2017
rkflx created this revision.
Restricted Application added a project: Okular.
REVISION SUMMARY
For some combinations of font and font size, text labels in the sidebar
are rendered incorrectly, i.e. the right and left border is cut off.
This is a problem internal to the text label and not related to the
containing widget, as this even occurs when a wider text label above or
below still renders fine at the same horizontal position.
This fix is adapted from a similar fix to plasmate in https://phabricator.kde.org/R855:f3d78281609e4ada5a025ebb06c7e2f16989f101.
TEST PLAN
Use default fonts, change application language to Dutch. Compare text
rendering of sidebar labels before and after fix.
| Before | F3810778: okular-side-before.png <https://phabricator.kde.org/F3810778> |
| After | F3810779: okular-side-after.png <https://phabricator.kde.org/F3810779> |
REPOSITORY
R223 Okular
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D6695
AFFECTED FILES
ui/sidebar.cpp
To: rkflx, #okular
Cc: aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20170714/098fec2f/attachment.html>
More information about the Okular-devel
mailing list