Bug 105259 - Reversed rendering of selected text
Summary: Reversed rendering of selected text
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: 2018-02-26 19:29 UTC by Jason Crain
Modified: 2018-03-04 09:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Purchase Ledger Due Date Report (Detailed).pdf (5.66 KB, application/pdf)
2018-02-26 19:29 UTC, Jason Crain
Details
TextPage: Add horizontal scaling to font matrix (1.02 KB, patch)
2018-02-26 19:31 UTC, Jason Crain
Details | Splinter Review
text selection rendering without patch (37.77 KB, image/png)
2018-02-26 19:36 UTC, Jason Crain
Details
text selection rendering with patch (44.28 KB, image/png)
2018-02-26 19:37 UTC, Jason Crain
Details

Description Jason Crain 2018-02-26 19:29:47 UTC
Created attachment 137618 [details]
Purchase Ledger Due Date Report (Detailed).pdf

Forwarding from https://bugzilla.gnome.org/show_bug.cgi?id=783954

---
On using cursor selection of text, the hi-lit text is rendered mirrored.
Using ^C to copy gives the correct text if pasted into another application.
evince --version: GNOME Document Viewer 3.22.1 (from Debian testing distribution)
Comment 1 Jason Crain 2018-02-26 19:31:28 UTC
Created attachment 137619 [details] [review]
TextPage: Add horizontal scaling to font matrix

Drawing the text selection sometimes draws text reversed or expanded.
This is because the while the current font transformation matrix is
saved, the horizontal scaling is not. Include the effect of the
horizontal scaling in the transformation matrix.
Comment 2 Jason Crain 2018-02-26 19:36:47 UTC
Created attachment 137620 [details]
text selection rendering without patch

without this patch, selected text is drawn reversed
Comment 3 Jason Crain 2018-02-26 19:37:33 UTC
Created attachment 137621 [details]
text selection rendering with patch

with patch, selected text is drawn correctly
Comment 4 Carlos Garcia Campos 2018-03-04 09:23:10 UTC
Pushed, thank you


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.