GNOME Bugzilla – Bug 763536
CoreText interface handles surrogate pairs incorrectly
Last modified: 2016-03-15 23:44:40 UTC
Created attachment 323759 [details] The produced images by pango-view Steps to Reproduce: 0) Install "Noto Sans CJK JP" 1) Run the following commands: pango-view --font="Noto Sans CJK JP 64" -t "
GNOME Bugzilla has truncated the comment, so I retry to post with numeric character references. CoreText interface handles surrogate pairs incorrectly Steps to Reproduce: 0) Install "Noto Sans CJK JP" 1) Run the following commands: pango-view --font="Noto Sans CJK JP 64" -t "𩸽" --backend=cairo -o coretext.png pango-view --font="Noto Sans CJK JP 64" -t "𩸽" --backend=ft2 -o ft2.png Actual Results: coretext.png shows a missing glyph box. Expected Results: The produced images show the same character "𩸽" (U+29E3D). This issue is reproduced with both pango stable (1.38.1) and pango HEAD.
Created attachment 323775 [details] [review] [PATCH] Fix handling of surrogate pairs in the CoreText shaper
*** This bug has been marked as a duplicate of bug 753312 ***