diff options
| author | Mike DePaulo <mikedep333@gmail.com> | 2015-02-28 07:31:25 -0500 |
|---|---|---|
| committer | Mike DePaulo <mikedep333@gmail.com> | 2015-02-28 07:31:25 -0500 |
| commit | 05f00e318b7842595179ad4d228dfaee5e992951 (patch) | |
| tree | 65059975d8e906513b01e7161caf87e7772674cf /freetype/src/cff/cffcmap.c | |
| parent | 67f9dfd6bae84de480e0f4407d5ee27fccc34d9f (diff) | |
| download | vcxsrv-05f00e318b7842595179ad4d228dfaee5e992951.tar.gz vcxsrv-05f00e318b7842595179ad4d228dfaee5e992951.tar.bz2 vcxsrv-05f00e318b7842595179ad4d228dfaee5e992951.zip | |
Updated to freetype 2.5.5
Diffstat (limited to 'freetype/src/cff/cffcmap.c')
| -rw-r--r-- | freetype/src/cff/cffcmap.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/freetype/src/cff/cffcmap.c b/freetype/src/cff/cffcmap.c index f6e03c642..52248b2b9 100644 --- a/freetype/src/cff/cffcmap.c +++ b/freetype/src/cff/cffcmap.c @@ -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. */ |
