shithub: freetype+ttf2subf

Download patch

ref: fab10b6fc2091df6bde50e132f7b4bd7bca97c9f
parent: 125b84800a3230305b7fbc8eedeee106fa78adae
author: Werner Lemberg <[email protected]>
date: Sat Jun 2 05:53:58 EDT 2018

* src/autofit/afwarp.h: Use AF_CONFIG_OPTION_USE_WARPER (#54033).

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-02  Werner Lemberg  <[email protected]>
+
+	* src/autofit/afwarp.h: Use AF_CONFIG_OPTION_USE_WARPER (#54033).
+
 2018-05-31  Werner Lemberg  <[email protected]>
 
 	* src/raster/ftraster.c (black_TWorker_): Remove `gTarget' field.
--- a/src/autofit/afwarp.h
+++ b/src/autofit/afwarp.h
@@ -47,6 +47,7 @@
   } AF_WarperRec, *AF_Warper;
 
 
+#ifdef AF_CONFIG_OPTION_USE_WARPER
   FT_LOCAL( void )
   af_warper_compute( AF_Warper      warper,
                      AF_GlyphHints  hints,
@@ -53,6 +54,7 @@
                      AF_Dimension   dim,
                      FT_Fixed      *a_scale,
                      FT_Fixed      *a_delta );
+#endif
 
 
 FT_END_HEADER