summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-03 13:57:53 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-03 13:57:53 -0400
commit519c36733acb31a15c9f416f845c7887bfe64121 (patch)
tree58313db9e67f65a6908902158cd95140e397cf47
parentb50f0ef8bb1d8a9ad816b6dcc72b4d8962160bf0 (diff)
downloadpango-519c36733acb31a15c9f416f845c7887bfe64121.tar.gz
Remove a unnecessary harfbuzz version check
We require harfbuzz 2.0.0 now.
-rw-r--r--pango/pangofc-shape.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pango/pangofc-shape.c b/pango/pangofc-shape.c
index c2ef2b8f..276f354b 100644
--- a/pango/pangofc-shape.c
+++ b/pango/pangofc-shape.c
@@ -416,9 +416,7 @@ pango_hb_shape (PangoFont *font,
hb_buffer_set_direction (hb_buffer, hb_direction);
hb_buffer_set_script (hb_buffer, hb_glib_script_to_script (analysis->script));
hb_buffer_set_language (hb_buffer, hb_language_from_string (pango_language_to_string (analysis->language), -1));
-#if HB_VERSION_ATLEAST(1,0,3)
hb_buffer_set_cluster_level (hb_buffer, HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS);
-#endif
hb_buffer_set_flags (hb_buffer, hb_buffer_flags);
hb_buffer_set_invisible_glyph (hb_buffer, PANGO_GLYPH_EMPTY);