Move CFF decoder components into `psaux' module.
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.
2017-09-24 21:39:20 +02:00
|
|
|
|
|
|
|
#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,
|
2017-09-24 22:05:32 +02:00
|
|
|
FT_Render_Mode hint_mode,
|
|
|
|
CFF_Decoder_Get_Glyph_Callback get_callback,
|
|
|
|
CFF_Decoder_Free_Glyph_Callback free_callback);
|
Move CFF decoder components into `psaux' module.
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.
2017-09-24 21:39:20 +02:00
|
|
|
|
|
|
|
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 */
|