Bug 66983 - Ligatures (and other characters) are drawn outside selection; should be clipped
Summary: Ligatures (and other characters) are drawn outside selection; should be clipped
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-17 00:06 UTC by Ed Catmur
Modified: 2013-07-18 08:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
poppler-clip-selection-text.patch (996 bytes, text/plain)
2013-07-17 00:06 UTC, Ed Catmur
Details

Description Ed Catmur 2013-07-17 00:06:55 UTC
Created attachment 82512 [details]
poppler-clip-selection-text.patch

When I select text in italics or containing ligatures, the whole of the glyph is drawn in the selection glyph colour, even when this falls outside the selection box.  It should be fairly easy to clip the text selection text paint to the selection box.
Comment 1 Ed Catmur 2013-07-17 00:11:23 UTC
See attachment to bug 7002 for a PDF exhibiting this issue.
Comment 2 Carlos Garcia Campos 2013-07-18 08:39:45 UTC
Thanks for the patch. It doesn't apply to current git master, so I've adapted it and pushed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.