[truetype] Fix compilation warning.

* src/truetype/ttgload.c (IS_HINTED): Move macro to...
* src/truetype/ttobjs.h: This header file.
This commit is contained in:
Werner Lemberg 2012-08-27 09:35:22 +02:00
parent d9bf44a430
commit 06e31e9b5e
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2012-08-27 Werner Lemberg <wl@gnu.org>
[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 <wl@gnu.org>
[autofit, cff, pshinter, psnames] More renamings for orthogonality.

View File

@ -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. */

View File

@ -428,6 +428,10 @@ FT_BEGIN_HEADER
tt_slot_init( FT_GlyphSlot slot );
/* auxiliary */
#define IS_HINTED( flags ) ( ( flags & FT_LOAD_NO_HINTING ) == 0 )
FT_END_HEADER
#endif /* __TTOBJS_H__ */