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

GSoC-2019-moazin
Moazin Khatti 5 years ago
parent 7d6ebe3a81
commit 561364002a
  1. 5
      builds/freetype.mk
  2. 9
      devel/ftoption.h

@ -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

@ -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

Loading…
Cancel
Save