[pango/matthiasc/for-master: 4/5] Remove an obsolete version check




commit 8065db209616b218dc3f5294f2873c5a02ac36e6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 10 10:06:30 2021 -0400

    Remove an obsolete version check
    
    We require harbuzz to be at least 2.0.0 for a while now.
    No need to check that version at runtime.

 pango/pangofc-fontmap.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index aada1909..92a2f64a 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -3389,9 +3389,6 @@ pango_fc_font_map_get_hb_face (PangoFcFontMap *fcfontmap,
     {
       hb_blob_t *blob;
 
-      if (!hb_version_atleast (2, 0, 0))
-        g_error ("Harfbuzz version too old (%s)\n", hb_version_string ());
-
       blob = hb_blob_create_from_file (data->filename);
       data->hb_face = hb_face_create (blob, data->id);
       hb_blob_destroy (blob);


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