From 31700fed4f4eb2efb1b445c27b4016ea85bb14f3 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Fri, 6 May 2022 21:14:13 +0930 Subject: Support SVG fonts in FT backend --- meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 756cfcd6c..831527c43 100644 --- a/meson.build +++ b/meson.build @@ -337,6 +337,9 @@ if freetype_dep.found() if not cc.links(files('meson-cc-tests/ft_has_color.c'), dependencies: freetype_dep, name: 'FT has color') conf.set('FT_HAS_COLOR', '(0)') endif + if cc.has_type('FT_SVG_Document', dependencies: freetype_dep, prefix: '#include ') + conf.set('HAVE_FT_SVG_DOCUMENT', 1) + endif check_funcs += ft_check_funcs deps += [freetype_dep] endif -- cgit v1.2.1