[poppler] [PATCH] Selection improvements

Andreas Becker atayoohoo at googlemail.com
Wed Oct 5 03:45:57 PDT 2011


The patch begins a new word when the font family changed.
This avoids changing or hidden characters and preserves the font
variant/weight/family in the selected words.

When selecting, poppler renders the (e. g. blue) background of a TextLine
and immediately draws the characters on it.
With the patch, the characters are drawn after the background of the whole
selected area is drawn.
Then, no selection background can overlay characters in other TextLines.
This makes selecting LaTeX umlauts
possible (when selecting a larger text block) and displays selected overlaid
texts correctly.

http://imageshack.us/f/828/afterr.png/
http://imageshack.us/f/823/beforebh.png/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20111005/bde1e0a2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selection.patch
Type: text/x-patch
Size: 10433 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20111005/bde1e0a2/attachment.bin>


More information about the poppler mailing list