freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master fab10b6: * src/autofit/afwarp.h: Use AF_CONFIG_OPTION


From: Werner LEMBERG
Subject: [freetype2] master fab10b6: * src/autofit/afwarp.h: Use AF_CONFIG_OPTION_USE_WARPER (#54033).
Date: Sat, 2 Jun 2018 03:54:11 -0400 (EDT)

branch: master
commit fab10b6fc2091df6bde50e132f7b4bd7bca97c9f
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    * src/autofit/afwarp.h: Use AF_CONFIG_OPTION_USE_WARPER (#54033).
---
 ChangeLog            | 4 ++++
 src/autofit/afwarp.h | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 61afb4d..64aa007 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-02  Werner Lemberg  <address@hidden>
+
+       * src/autofit/afwarp.h: Use AF_CONFIG_OPTION_USE_WARPER (#54033).
+
 2018-05-31  Werner Lemberg  <address@hidden>
 
        * src/raster/ftraster.c (black_TWorker_): Remove `gTarget' field.
diff --git a/src/autofit/afwarp.h b/src/autofit/afwarp.h
index 520b1be..38b7479 100644
--- a/src/autofit/afwarp.h
+++ b/src/autofit/afwarp.h
@@ -47,12 +47,14 @@ FT_BEGIN_HEADER
   } AF_WarperRec, *AF_Warper;
 
 
+#ifdef AF_CONFIG_OPTION_USE_WARPER
   FT_LOCAL( void )
   af_warper_compute( AF_Warper      warper,
                      AF_GlyphHints  hints,
                      AF_Dimension   dim,
                      FT_Fixed      *a_scale,
                      FT_Fixed      *a_delta );
+#endif
 
 
 FT_END_HEADER



reply via email to

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