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

            Bug ID: 473380
           Summary: XML entities of non-BMP codepoints in SVG files are
                    truncated
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: File formats
          Assignee: krita-bugs-n...@kde.org
          Reporter: al...@alvinhc.com
  Target Milestone: ---

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

SUMMARY
The XML loading code seems to not parse XML entities of non-BMP codepoints
(e.g. `👩`) correctly, truncating the codepoint to 16-bit.

STEPS TO REPRODUCE
1. Open test file

OBSERVED RESULT
Image shows two lines of text, first line is "佔位文字 👩 Testing", the second line
is the same except the emoji is replaced by the PUA character U+F469 (may
appear as anything).

EXPECTED RESULT
Both lines should be "佔位文字 👩 Testing".

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

Reply via email to