For a devel build, enable SVG support as well as default hooks.

This commit is contained in:
Moazin Khatti 2019-08-23 17:43:20 +05:00
parent 7d6ebe3a81
commit 561364002a
2 changed files with 12 additions and 2 deletions

View File

@ -130,8 +130,9 @@ ifdef DEVEL_DIR
# We assume that all library dependencies for FreeType are fulfilled for a
# development build, so we directly access the necessary include directory
# information using `pkg-config'.
INCLUDE_FLAGS += $(shell pkg-config --cflags libpng \
harfbuzz )
INCLUDE_FLAGS += $(shell pkg-config --cflags libpng \
harfbuzz \
librsvg-2.0 \)
endif

View File

@ -493,6 +493,15 @@ FT_BEGIN_HEADER
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
/**************************************************************************
*
* OpenType SVG Glyph Support
*
* If this macro is set, OpenType SVG glyphs will be supported.
*/
#define FT_CONFIG_OPTION_SVG
#define FT_CONFIG_OPTION_DEFAULT_SVG
/**************************************************************************
*
* Error Strings