#include <ft2build.h>
#include "cidload.h"
#include "ciderrs.h"
#include "cidtoken.h"
Go to the source code of this file.
Defines | |
#define | FT_COMPONENT trace_cidload |
Functions | |
cid_get_offset (FT_Byte **start, FT_Byte offsize) | |
static FT_Error | cid_load_keyword (CID_Face face, CID_Loader *loader, const T1_Field keyword) |
parse_font_matrix (CID_Face face, CID_Parser *parser) | |
parse_fd_array (CID_Face face, CID_Parser *parser) | |
parse_expansion_factor (CID_Face face, CID_Parser *parser) | |
static FT_Error | cid_parse_dict (CID_Face face, CID_Loader *loader, FT_Byte *base, FT_Long size) |
static FT_Error | cid_read_subrs (CID_Face face) |
static void | t1_init_loader (CID_Loader *loader, CID_Face face) |
static void | t1_done_loader (CID_Loader *loader) |
static FT_Error | cid_hex_to_binary (FT_Byte *data, FT_Long data_len, FT_ULong offset, CID_Face face) |
cid_face_open (CID_Face face, FT_Int face_index) | |
Variables | |
static const T1_FieldRec | cid_field_records [] |
static FT_Error cid_load_keyword | ( | CID_Face | face, | |
CID_Loader * | loader, | |||
const T1_Field | keyword | |||
) | [static] |
Definition at line 70 of file cidload.c.
References error, CID_FaceInfoRec_::font_bbox, CID_FaceInfoRec_::font_dicts, CID_FaceInfoRec_::font_info, FT_ERROR, T1_FieldRec_::ident, if(), T1_FieldRec_::location, object, T1_FieldRec_::reader, T1_FIELD_LOCATION_BBOX, T1_FIELD_LOCATION_CID_INFO, T1_FIELD_LOCATION_FONT_EXTRA, T1_FIELD_LOCATION_FONT_INFO, T1_FIELD_LOCATION_PRIVATE, T1_FIELD_TYPE_CALLBACK, and T1_FieldRec_::type.
static FT_Error cid_parse_dict | ( | CID_Face | face, | |
CID_Loader * | loader, | |||
FT_Byte * | base, | |||
FT_Long | size | |||
) | [static] |
Definition at line 392 of file cidload.c.
References cid_get_offset(), CID_SubrsRec_::code, CID_FaceInfoRec_::data_offset, CID_FaceInfoRec_::font_dicts, for(), FT_ALLOC, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_NEW_ARRAY, FT_PAD_CEIL, FT_RENEW_ARRAY, FT_STREAM_READ, FT_STREAM_SEEK, if(), lenIV, CID_SubrsRec_::num_subrs, p, PC3::stream(), and PSAux_ServiceRec_::t1_decrypt.
parse_expansion_factor | ( | CID_Face | face, | |
CID_Parser * | parser | |||
) |
Definition at line 246 of file cidload.c.
References cid_parser_to_fixed, CID_FaceDictRec_::expansion_factor, PS_PrivateRec_::expansion_factor, and CID_FaceDictRec_::private_dict.
parse_fd_array | ( | CID_Face | face, | |
CID_Parser * | parser | |||
) |
Definition at line 204 of file cidload.c.
References cid_parser_to_int, error, CID_FaceInfoRec_::font_dicts, FT_NEW_ARRAY, PS_PrivateRec_::lenIV, n, CID_FaceInfoRec_::num_dicts, and CID_FaceDictRec_::private_dict.
parse_font_matrix | ( | CID_Face | face, | |
CID_Parser * | parser | |||
) |
Definition at line 150 of file cidload.c.
References cid_parser_to_fixed_array, CID_FaceDictRec_::font_matrix, CID_FaceDictRec_::font_offset, FT_ABS, FT_DivFix(), if(), RooFitShortHand::L(), root, void, and x10000L.
static void t1_done_loader | ( | CID_Loader * | loader | ) | [static] |
static void t1_init_loader | ( | CID_Loader * | loader, | |
CID_Face | face | |||
) | [static] |
const T1_FieldRec cid_field_records[] [static] |