'Scale elements' (0.92): flowed text in imported PDFs is vertically flipped

Bug #1654342 reported by jmeidal on 2017-01-05
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Unassigned
0.92.x
Medium
Unassigned

Bug Description

the attached file opens file in 0.91, but when opened in 0.92 (Win64) the text is flipped/mirrored. I have opened other files in which I don't see this issue however.

I recognize there are some old bugs which report flipped text on a path, but not sure this is the same...

jmeidal (jmeidal) wrote :
su_v (suv-lp) wrote :

Nothing specific to Inkscape 0.92 here (same happens expectedly with older Inkscape versions, too; tested and reproduced with 0.91 and 0.48.5).

Based on the transformation of the main (and only) layer group:

     transform="matrix(1.25,0,0,-1.25,0,190.62883)"

this template originates from a PDF import (which scales and flips the top-level layer containing the data imported from the PDF, due to internal differences of the coordinate systems used in SVG and PDF).

The underlying issue is already tracked e.g. in
* Bug #938558 “Text on path mirrored / backwards (inside flipped group or layer)”
  https://bugs.launchpad.net/inkscape/+bug/938558

User tips:
I would recommend to start on a newly added layer when drawing new content in Inkscape to a document which was converted from a foreign vector format - this will allow to avoid such inherent issues (the behavior is technically speaking not wrong, just not easy to understand for users).

Cleaning up this document (see menu 'File') might not be a bad idea either, there's lots of cruft in the <defs> section in this "template" ('File > Clean up Document' removes 519 unused definitions).

tags: added: text transformations
su_v (suv-lp) wrote :

Clarification:
My prior comment strictly refers to 'text put on path' in this specific file (sorry for the unclarity) - the existing text does not render flipped / mirrored in Inkscape 0.92, nor does regular or flowed text added to the current drawing level in Inkscape 0.92 appear flipped / mirrored.

Could you please share a screenshot how the existing text in this specific file renders on your system, and which option to change the DPI on load you chose?

su_v (suv-lp) wrote :

Nevermind - the reported issue is triggered by 'Scale elements' for the DPI change in Inkscape 0.92:
reproduced with Inkscape 0.92 r15299 on OX 10.7.5 and Windows 10

The other two options ("Set 'viewBox'", "Ignore") do not cause the text to be vertically flipped.

Changed in inkscape:
status: New → Confirmed
summary: - text in 0.92 is flipped/mirrored
+ 'Scale elements' (0.92): text in imported PDFs is vertically flipped

Only affects flowed text (regular text is ok).

summary: - 'Scale elements' (0.92): text in imported PDFs is vertically flipped
+ 'Scale elements' (0.92): flowed text in imported PDFs is vertically
+ flipped
su_v (suv-lp) wrote :

@JazzyNico - could you please milestone to 0.92.1?

su_v (suv-lp) wrote :

Reduced test case created with Inkscape 0.48.5, displaying a regular and a flowed text created inside a vertically flipped group.

To reproduce the reported issue, open file in Inkscape >= 0.92, and choose 'Scale elements' to adjust to DPI change.

jazzynico (jazzynico) on 2017-01-08
Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.92.1
status: Confirmed → Triaged
su_v (suv-lp) wrote :

Not reproduced with Inkscape 0.92+devel r15407 (default prefs) on Ubuntu 14.04 with 'Scale test - all'.

jazzynico (jazzynico) on 2017-02-16
Changed in inkscape:
milestone: 0.92.1 → 0.93
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers