summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-10 10:06:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-10 10:06:30 -0400
commit8065db209616b218dc3f5294f2873c5a02ac36e6 (patch)
tree8005539f55b8c09a385d2a704abfb68cbf45535b
parent96bcf49c1b0d7a0dc82d2dd3b20ca340100be841 (diff)
downloadpango-8065db209616b218dc3f5294f2873c5a02ac36e6.tar.gz
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.
-rw-r--r--pango/pangofc-fontmap.c3
1 files changed, 0 insertions, 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);