|
|
|
@ -54,19 +54,21 @@ FT_BEGIN_HEADER |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
|
|
|
|
|
#define xxAF_USE_WARPER /* only define to use warp hinting */ |
|
|
|
|
#define xxAF_DEBUG |
|
|
|
|
#define AF_DEBUG |
|
|
|
|
|
|
|
|
|
#ifdef AF_DEBUG |
|
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
|
# include <stdio.h> |
|
|
|
|
# define AF_LOG( x ) printf x |
|
|
|
|
|
|
|
|
|
#define AF_LOG( x ) printf x |
|
|
|
|
extern int _af_debug_disable_horz_hints; |
|
|
|
|
extern int _af_debug_disable_vert_hints; |
|
|
|
|
|
|
|
|
|
#else |
|
|
|
|
#else /* !AF_DEBUG */ |
|
|
|
|
|
|
|
|
|
#define AF_LOG( x ) do ; while ( 0 ) /* nothing */ |
|
|
|
|
# define AF_LOG( x ) do ; while ( 0 ) /* nothing */ |
|
|
|
|
|
|
|
|
|
#endif /* AF_DEBUG */ |
|
|
|
|
#endif /* !AF_DEBUG */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -149,7 +151,7 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_Pos y_out ); |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Return -1, 0, or +1, depending on the orientation of a given corner.
|
|
|
|
|
* Return -1, 0, or +1, depending on the orientation of a given corner. |
|
|
|
|
* We use the Cartesian coordinate system, with positive vertical values |
|
|
|
|
* going upwards. The function returns +1 when the corner turns to the |
|
|
|
|
* left, -1 to the right, and 0 for undecided. |
|
|
|
|