racket/draw Cocoa: fix (again!) surroate-pair patch for Pango
This commit is contained in:
parent
f36e575735
commit
13db06d5df
|
@ -1 +1 @@
|
|||
Subproject commit d81690026213e2a1c5c08235e3bf22d4511e987a
|
||||
Subproject commit 3d8856eb987af16ab27cc99d4d24d5f9e7efc33b
|
|
@ -64,7 +64,7 @@ diff -r -u old/pango-1.36.3/modules/basic/basic-coretext.c new/pango-1.36.3/modu
|
|||
+ gunichar c;
|
||||
+
|
||||
+ c = CFStringGetCharacterAtIndex (iter->cstr, iter->current_indices[iter->ct_i]);
|
||||
+ if ((c & 0xD800) == 0xD800) {
|
||||
+ if ((c >= 0xD800) && (c <= 0xDFFF)) {
|
||||
+ /* surrogate pair */
|
||||
+ gunichar c2;
|
||||
+ c2 = CFStringGetCharacterAtIndex (iter->cstr, iter->current_indices[iter->ct_i]+1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user