~jpobst/pinta/master

Viewing all changes in revision 830.

  • Committer: Cameron White
  • Date: 2013-06-15 04:19:13 UTC
  • Revision ID: git-v1:6c8f52cfe8c30e8a2f02bcd81a5456a2e1d33f3e
[Fixes bug #1186871] Fix several layout issues with the text tool.

The bounding rectangle returned by Pango is much larger than what we
need, and the code previously tried to make some adjustments. However,
that didn't work very well, especially with large font sizes.

Now, we just set the height to be the # of lines times the cursor
height, which works very well.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: