[hb-view] Better cairo version check

This commit is contained in:
Behdad Esfahbod 2023-08-16 09:55:23 -07:00
parent e714e7d4f3
commit c7f2d440f4

View file

@ -203,7 +203,7 @@ view_cairo_t::render (const font_options_t *font_opts)
}
// https://github.com/harfbuzz/harfbuzz/issues/4378
#if CAIRO_VERSION >= 11700
#if CAIRO_VERSION >= 11705
if (l.num_clusters)
cairo_show_text_glyphs (cr,
l.utf8, l.utf8_len,