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

Reply via email to