NOTE: Does not compile! * src/cff/cffgload.c (CFF_Operator, CFF_COUNT_{CHECK_WIDTH,EXACT,CLEAR_STACK}, cff_argument_counts, cff_operator_seac, cff_compute_bias, cff_lookup_glyph_by_stdcharcode, cff_decoder_{parse_charstrings,init,prepare}): Move to... * src/psaux/cffdecode.c: This new file. * src/cff/cffgload.h: Move corresponding declarations to... * src/psaux/cffdecode.h: This new file. * src/cff/cffgload.h (CFF_MAX_{OPERANDS,SUBRS_CALLS,TRANS_ELEMENTS}, CFF_Decoder_Zone, CFF_Decoder): Move declarations to... * include/freetype/internal/psaux.h: Here. * src/psaux/cf2ft.h: Update include. * src/psaux/psaux.c, src/psaux/rules.mk (PSAUX_DRV_SRC): Update with the new file.GSoC-2017-kushal
parent
62f095f046
commit
705bbe7c7b
9 changed files with 2454 additions and 2374 deletions
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,44 @@ |
||||
|
||||
#ifndef CFFDECODE_H_ |
||||
#define CFFDECODE_H_ |
||||
|
||||
|
||||
#include <ft2build.h> |
||||
|
||||
|
||||
FT_BEGIN_HEADER |
||||
|
||||
FT_LOCAL( void ) |
||||
cff_decoder_init( CFF_Decoder* decoder, |
||||
TT_Face face, |
||||
CFF_Size size, |
||||
CFF_GlyphSlot slot, |
||||
FT_Bool hinting, |
||||
FT_Render_Mode hint_mode); |
||||
|
||||
FT_LOCAL( FT_Error ) |
||||
cff_decoder_prepare( CFF_Decoder* decoder, |
||||
CFF_Size size, |
||||
FT_UInt glyph_index ); |
||||
|
||||
|
||||
FT_LOCAL( FT_Int ) |
||||
cff_lookup_glyph_by_stdcharcode( CFF_Font cff, |
||||
FT_Int charcode ); |
||||
|
||||
|
||||
#ifdef CFF_CONFIG_OPTION_OLD_ENGINE |
||||
FT_LOCAL( FT_Error ) |
||||
cff_decoder_parse_charstrings( CFF_Decoder* decoder, |
||||
FT_Byte* charstring_base, |
||||
FT_ULong charstring_len, |
||||
FT_Bool in_dict ); |
||||
#endif |
||||
|
||||
|
||||
FT_END_HEADER |
||||
|
||||
#endif |
||||
|
||||
|
||||
/* END */ |
Loading…
Reference in new issue