diff --git a/src/CoreText/CTFont.cs b/src/CoreText/CTFont.cs index 1ed43681..1816ef96 100644 --- a/src/CoreText/CTFont.cs +++ b/src/CoreText/CTFont.cs @@ -1878,7 +1878,7 @@ public string[] GetSupportedLanguages () return languages; } - [DllImport (Constants.CoreTextLibrary)] + [DllImport (Constants.CoreTextLibrary, CharSet = CharSet.Unicode)] static extern bool CTFontGetGlyphsForCharacters (IntPtr font, [In] char[] characters, [Out] CGGlyph[] glyphs, int count); public bool GetGlyphsForCharacters (char[] characters, CGGlyph[] glyphs, int count) {