~neon/konsole/master

Viewing all changes in revision 6268.

  • Committer: Kurt Hindenburg
  • Author(s): Martin T. H. Sandsmark
  • Date: 2018-12-06 15:26:56 UTC
  • Revision ID: git-v1:14b3c8be2c15ed9711b1308b4a991de4aad5802d
fix drawing box chars, avoid storing and saving state all the time

Summary:
to get the box chars to be drawn correctly we need to turn on high
quality antialiasing in qpainter. in addition only turn it on if
antialiasing is enabled.

lastly qpainter.save()/restore() is called very often, so try to avoid
that if it isn't necessary.

BUG: 401463

Test Plan:
`cat tests/boxes.txt`

old:

{F6428268}

new:

{F6450304}

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: wbauer, konsole-devel, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D16947

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: