diff --git a/native-pkgs b/native-pkgs index d816900262..3d8856eb98 160000 --- a/native-pkgs +++ b/native-pkgs @@ -1 +1 @@ -Subproject commit d81690026213e2a1c5c08235e3bf22d4511e987a +Subproject commit 3d8856eb987af16ab27cc99d4d24d5f9e7efc33b diff --git a/racket/src/native-libs/patches/coretext.patch b/racket/src/native-libs/patches/coretext.patch index c9efd51fb3..a5da535c8c 100644 --- a/racket/src/native-libs/patches/coretext.patch +++ b/racket/src/native-libs/patches/coretext.patch @@ -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);