diff options
author | Egbert Eich <eich@suse.de> | 2004-08-04 12:21:48 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-08-04 12:21:48 +0000 |
commit | e521b8425894ae62ebe225af80e8b6f820df6ff8 (patch) | |
tree | 6a3f655bfa5aa4e76192b48ae045d1721d893543 /src/FreeType/fttools.c | |
parent | 0cbe4e38042a21ee193b2fda42fa647e23f61758 (diff) |
Optimization of CJK rendering when using versions of freetype prior torel-0-6-1lg3d-rel-0-7-0lg3d-baseXORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1
2.1.8 (Chisato Yamauchi).
A small backward compatibility fix to make the freetype module build with
freetype version < 2.1.7.
Fixed/added some debugging code.
Diffstat (limited to 'src/FreeType/fttools.c')
-rw-r--r-- | src/FreeType/fttools.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FreeType/fttools.c b/src/FreeType/fttools.c index 3df910e..1567724 100644 --- a/src/FreeType/fttools.c +++ b/src/FreeType/fttools.c @@ -40,6 +40,13 @@ #include FT_TRUETYPE_IDS_H #include "ft.h" +/* backward compatibility hack */ +#if (FREETYPE_VERSION < 2001008) +# ifndef ft_isdigit +# define ft_isdigit isdigit +# endif +#endif + #ifndef LSBFirst #define LSBFirst 0 #define MSBFirst 1 |