diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-03-09 14:57:42 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-03-09 14:59:26 -0500 |
commit | 79454ac56cef1baf49acc7c556cf059d3cbbfad3 (patch) | |
tree | 5e649a97082bed4e06c65a9a17450e40c177b6c7 /pango/pango-layout.c | |
parent | ddbeda2bda43e9e84df380ca1d4c39eb2819475b (diff) | |
download | pango-79454ac56cef1baf49acc7c556cf059d3cbbfad3.tar.gz |
Drop the hb-glib dependency again
It is not really needed.
Fixes: #674
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 3 |
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, |