summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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