ref: 06e31e9b5e210a498067d392f27c81aa0199b4bf
parent: d9bf44a430339bc40285eb96b0b700eb4ce9d6c3
author: Werner Lemberg <[email protected]>
date: Mon Aug 27 05:35:22 EDT 2012
[truetype] Fix compilation warning. * src/truetype/ttgload.c (IS_HINTED): Move macro to... * src/truetype/ttobjs.h: This header file.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-08-27 Werner Lemberg <[email protected]>
+ [truetype] Fix compilation warning.
+
+ * src/truetype/ttgload.c (IS_HINTED): Move macro to...
+ * src/truetype/ttobjs.h: This header file.
+
+2012-08-27 Werner Lemberg <[email protected]>
+
[autofit, cff, pshinter, psnames] More renamings for orthogonality.
* src/autofit/afmodule.c, src/autofit/afpic.h:
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -262,10 +262,6 @@
}
-#undef IS_HINTED
-#define IS_HINTED( flags ) ( ( flags & FT_LOAD_NO_HINTING ) == 0 )
-
-
/*************************************************************************/
/* */
/* The following functions are used by default with TrueType fonts. */
--- a/src/truetype/ttobjs.h
+++ b/src/truetype/ttobjs.h
@@ -428,6 +428,10 @@
tt_slot_init( FT_GlyphSlot slot );
+ /* auxiliary */
+#define IS_HINTED( flags ) ( ( flags & FT_LOAD_NO_HINTING ) == 0 )
+
+
FT_END_HEADER
#endif /* __TTOBJS_H__ */