summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 6e4bb357..e45fb69f 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -85,7 +85,6 @@
#include <locale.h>
#include <hb-ot.h>
-#include <hb-glib.h>
#include "pango-layout-private.h"
#include "pango-attributes-private.h"
@@ -6720,7 +6719,7 @@ apply_baseline_shift (PangoLayoutLine *line,
hb_font = pango_font_get_hb_font (item->analysis.font);
- script = hb_glib_script_to_script (item->analysis.script);
+ script = (hb_script_t) g_unicode_script_to_iso15924 (item->analysis.script);
language = hb_language_from_string (pango_language_to_string (item->analysis.language), -1);
hb_ot_tags_from_script_and_language (script, language,
&script_count, script_tags,