https://bugs.kde.org/show_bug.cgi?id=472571

            Bug ID: 472571
           Summary: Mismatch between Krita and Inkscape text on path.
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Vector
          Assignee: krita-bugs-n...@kde.org
          Reporter: griffinval...@gmail.com
  Target Milestone: ---

Created attachment 160494
  --> https://bugs.kde.org/attachment.cgi?id=160494&action=edit
test file with mm units.

SUMMARY
When inkscape documents with text on path use units other than pt, Krita will
not lay out the text on path correctly.
This is because to deal with Inkscape's notion of the default unit being a mm
or the like, Krita just scales up the paths while parsing. This in turn means
that paths for 'text-on-path' or 'text-in-shape' may be scaled up twice,
because we need to apply the local transform before laying out the text onto
the path.

STEPS TO REPRODUCE
1. Make a document in inkscape with text-on-path (or check the attached file)
whose unit is set to 'mm'
2. load this into Krita
3. observe the offset from the text to the path, as if the text is put on a
scaled-up-path.

OTHER:
Whenever I make basic test files, they work within both Inkscape and Krita, but
when it comes to these more organic files things go pear-shaped.
For some reason it seems that the paths in shape seem to work in the millimeter
file but not the point file ( no clue yet what is causing that...), and
Inkscape's text area (which should be a rectangle text-in-shape) is somehow not
loading in either...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to