diff options
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r-- | pango/pangowin32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c index b0ce7151..71f2ddeb 100644 --- a/pango/pangowin32.c +++ b/pango/pangowin32.c @@ -863,9 +863,11 @@ pango_win32_font_find_shaper (PangoFont *font, guint32 ch) { PangoMap *shape_map = NULL; + PangoScript script; shape_map = pango_win32_get_shaper_map (lang); - return (PangoEngineShape *)pango_map_get_engine (shape_map, ch); + script = pango_script_for_unichar (ch); + return (PangoEngineShape *)pango_map_get_engine (shape_map, script); } /* Utility functions */ |