[util/draw/ft] Use hb-draw for font-funcs=ft as well
If cairo is >= 1.17.5. This essentially breaks emoji and bitmap fonts for now.
This commit is contained in:
parent
6d5b998f25
commit
542f8269cb
|
@ -69,8 +69,7 @@ _cairo_eps_surface_create_for_stream (cairo_write_func_t write_func,
|
||||||
static inline bool
|
static inline bool
|
||||||
helper_cairo_use_hb_draw (const font_options_t *font_opts)
|
helper_cairo_use_hb_draw (const font_options_t *font_opts)
|
||||||
{
|
{
|
||||||
return cairo_version () >= CAIRO_VERSION_ENCODE (1, 17, 5) &&
|
return cairo_version () >= CAIRO_VERSION_ENCODE (1, 17, 5);
|
||||||
(font_opts->font_funcs && strcmp (font_opts->font_funcs, "ft"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline cairo_scaled_font_t *
|
static inline cairo_scaled_font_t *
|
||||||
|
|
Loading…
Reference in New Issue