summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoazin Khatti <moazinkhatri@gmail.com>2019-08-23 17:43:20 +0500
committerMoazin Khatti <moazinkhatri@gmail.com>2019-08-26 01:17:15 +0500
commit561364002ab686f5b9c5a1ef8de61492d072852d (patch)
treeef1a49a31cb04bbb77ecc6c30c6acbacb9b78325
parent7d6ebe3a816cdd69ccbe62012cf875c045924d80 (diff)
downloadfreetype2-561364002ab686f5b9c5a1ef8de61492d072852d.tar.gz
For a devel build, enable SVG support as well as default hooks.
-rw-r--r--builds/freetype.mk5
-rw-r--r--devel/ftoption.h9
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
@@ -495,6 +495,15 @@ FT_BEGIN_HEADER
/**************************************************************************
*
+ * 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
*
* If this macro is set, `FT_Error_String` will return meaningful