After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763536 - CoreText interface handles surrogate pairs incorrectly
CoreText interface handles surrogate pairs incorrectly
Status: RESOLVED DUPLICATE of bug 753312
Product: pango
Classification: Platform
Component: coretext
1.38.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtk-quartz maintainers
pango-maint
Depends on:
Blocks:
 
 
Reported: 2016-03-12 14:43 UTC by Ryusei Yamaguchi
Modified: 2016-03-15 23:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The produced images by pango-view (30.35 KB, image/png)
2016-03-12 14:43 UTC, Ryusei Yamaguchi
  Details
[PATCH] Fix handling of surrogate pairs in the CoreText shaper (3.03 KB, patch)
2016-03-13 02:03 UTC, Ryusei Yamaguchi
none Details | Review

Description Ryusei Yamaguchi 2016-03-12 14:43:04 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 "
Comment 1 Ryusei Yamaguchi 2016-03-12 14:51:38 UTC
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.
Comment 2 Ryusei Yamaguchi 2016-03-13 02:03:56 UTC
Created attachment 323775 [details] [review]
[PATCH] Fix handling of surrogate pairs in the CoreText shaper
Comment 3 Ryusei Yamaguchi 2016-03-15 23:44:40 UTC

*** This bug has been marked as a duplicate of bug 753312 ***