The patch begins a new word when the font family changed.<br>This avoids changing or hidden characters and preserves the font variant/weight/family in the selected words.<br><br>When selecting, poppler renders the (e. g. blue) background of a TextLine and immediately draws the characters on it.<br>
With the patch, the characters are drawn after the background of the whole selected area is drawn.<br>Then, no selection background can overlay characters in other TextLines. This makes selecting LaTeX umlauts<br>possible (when selecting a larger text block) and displays selected overlaid texts correctly.<br>
<br><a href="http://imageshack.us/f/828/afterr.png/">http://imageshack.us/f/828/afterr.png/</a><br><a href="http://imageshack.us/f/823/beforebh.png/">http://imageshack.us/f/823/beforebh.png/</a><br>