[pango] Remove a unnecessary harfbuzz version check



commit 519c36733acb31a15c9f416f845c7887bfe64121
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 3 13:57:53 2019 -0400

    Remove a unnecessary harfbuzz version check
    
    We require harfbuzz 2.0.0 now.

 pango/pangofc-shape.c | 2 --
 1 file changed, 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]