freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] GSoC-2019-moazin 78902b9 3/5: For a devel build, enable SVG


From: Moazin Khatti
Subject: [freetype2] GSoC-2019-moazin 78902b9 3/5: For a devel build, enable SVG support as well as default hooks.
Date: Sat, 24 Aug 2019 06:24:49 -0400 (EDT)

branch: GSoC-2019-moazin
commit 78902b95d1329a4132cf243327a46b8380b9f2d2
Author: Moazin Khatti <address@hidden>
Commit: Moazin Khatti <address@hidden>

    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 2b0ffae..1204b24 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 16cf4e1..727f8d1 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]