From 561364002ab686f5b9c5a1ef8de61492d072852d Mon Sep 17 00:00:00 2001 From: Moazin Khatti Date: Fri, 23 Aug 2019 17:43:20 +0500 Subject: [PATCH] For a devel build, enable SVG support as well as default hooks. --- builds/freetype.mk | 5 +++-- devel/ftoption.h | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/builds/freetype.mk b/builds/freetype.mk index 2b0ffaedd..1204b24eb 100644 --- a/builds/freetype.mk +++ b/builds/freetype.mk @@ -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 diff --git a/devel/ftoption.h b/devel/ftoption.h index 16cf4e126..727f8d1bf 100644 --- a/devel/ftoption.h +++ b/devel/ftoption.h @@ -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