Index: third_party/freetype/src/cff/cffcmap.c |
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cffcmap.c b/third_party/freetype/src/cff/cffcmap.c |
similarity index 95% |
rename from core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cffcmap.c |
rename to third_party/freetype/src/cff/cffcmap.c |
index 4aebe4682a7618c7f2f21335dc72b18d2b7aa730..52248b2b9a245b081c3fdcac79694881b66faf2d 100644 |
--- a/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cffcmap.c |
+++ b/third_party/freetype/src/cff/cffcmap.c |
@@ -16,8 +16,8 @@ |
/***************************************************************************/ |
-#include "../../include/ft2build.h" |
-#include "../../include/freetype/internal/ftdebug.h" |
+#include <ft2build.h> |
+#include FT_INTERNAL_DEBUG_H |
#include "cffcmap.h" |
#include "cffload.h" |
@@ -33,12 +33,15 @@ |
/*************************************************************************/ |
FT_CALLBACK_DEF( FT_Error ) |
- cff_cmap_encoding_init( CFF_CMapStd cmap ) |
+ cff_cmap_encoding_init( CFF_CMapStd cmap, |
+ FT_Pointer pointer ) |
{ |
TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); |
CFF_Font cff = (CFF_Font)face->extra.data; |
CFF_Encoding encoding = &cff->encoding; |
+ FT_UNUSED( pointer ); |
+ |
cmap->gids = encoding->codes; |
@@ -135,7 +138,8 @@ |
FT_CALLBACK_DEF( FT_Error ) |
- cff_cmap_unicode_init( PS_Unicodes unicodes ) |
+ cff_cmap_unicode_init( PS_Unicodes unicodes, |
+ FT_Pointer pointer ) |
{ |
TT_Face face = (TT_Face)FT_CMAP_FACE( unicodes ); |
FT_Memory memory = FT_FACE_MEMORY( face ); |
@@ -143,6 +147,8 @@ |
CFF_Charset charset = &cff->charset; |
FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)cff->psnames; |
+ FT_UNUSED( pointer ); |
+ |
/* can't build Unicode map for CID-keyed font */ |
/* because we don't know glyph names. */ |