zenilib
0.5.3.0
|
#include <ft2build.h>
#include <FT_INTERNAL_DEBUG_H>
#include <FT_CONFIG_CONFIG_H>
#include <FT_MULTIPLE_MASTERS_H>
#include <FT_INTERNAL_TYPE1_TYPES_H>
#include "cidload.h"
#include "ciderrs.h"
#include "cidtoken.h"
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_cidload |
Functions | |
static void | cid_done_loader (CID_Loader *loader) |
cid_face_open (CID_Face face, FT_Int face_index) | |
cid_get_offset (FT_Byte **start, FT_Byte offsize) | |
static FT_Error | cid_hex_to_binary (FT_Byte *data, FT_Long data_len, FT_ULong offset, CID_Face face) |
static void | cid_init_loader (CID_Loader *loader, CID_Face face) |
static FT_Error | cid_load_keyword (CID_Face face, CID_Loader *loader, const T1_Field keyword) |
static FT_Error | cid_parse_dict (CID_Face face, CID_Loader *loader, FT_Byte *base, FT_Long size) |
cid_parse_font_matrix (CID_Face face, CID_Parser *parser) | |
static FT_Error | cid_read_subrs (CID_Face face) |
parse_expansion_factor (CID_Face face, CID_Parser *parser) | |
parse_fd_array (CID_Face face, CID_Parser *parser) | |
Variables | |
static const T1_FieldRec | cid_field_records [] |
|
static |
Definition at line 526 of file cidload.c.
References cid_parser_done().
Referenced by cid_face_open().
Definition at line 635 of file cidload.c.
References cid_done_loader(), cid_hex_to_binary(), cid_init_loader(), cid_parse_dict(), cid_parser_new(), cid_read_subrs(), error, FT_ALLOC, FT_NEW, and FT_Stream_OpenMemory().
Referenced by cid_face_init().
Definition at line 42 of file cidload.c.
Referenced by cid_load_glyph(), and cid_read_subrs().
|
static |
Definition at line 537 of file cidload.c.
References d, error, FT_Bool, ft_isdigit, FT_STREAM_POS, FT_STREAM_READ, FT_STREAM_SEEK, CID_FaceRec_::root, FT_StreamRec_::size, and FT_FaceRec_::stream.
Referenced by cid_face_open().
|
static |
Definition at line 516 of file cidload.c.
References FT_MEM_ZERO, and FT_UNUSED.
Referenced by cid_face_open().
|
static |
Definition at line 70 of file cidload.c.
References CID_FaceRec_::cid, error, CID_FaceInfoRec_::font_bbox, CID_FaceInfoRec_::font_dicts, CID_FaceRec_::font_extra, CID_FaceInfoRec_::font_info, FT_ERROR, T1_FieldRec_::ident, if(), T1_FieldRec_::location, CID_FaceInfoRec_::num_dicts, 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.
Referenced by cid_parse_dict().
|
static |
Definition at line 279 of file cidload.c.
References CID_FaceRec_::cid, cid_load_keyword(), cid_parser_skip_PS_token, cid_parser_skip_spaces, ft_strlen, ft_strncmp, T1_FieldRec_::ident, if(), and CID_FaceInfoRec_::num_dicts.
Referenced by cid_face_open().
cid_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(), FT_FaceRec_::units_per_EM, FT_Vector_::x, FT_Matrix_::xx, FT_Matrix_::xy, FT_Vector_::y, FT_Matrix_::yx, and FT_Matrix_::yy.
Definition at line 390 of file cidload.c.
References CID_FaceRec_::cid, cid_get_offset(), CID_FaceRec_::cid_stream, CID_SubrsRec_::code, FT_StreamRec_::cursor, CID_FaceInfoRec_::data_offset, error, CID_FaceInfoRec_::font_dicts, for(), FT_ALLOC, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_FREE, FT_NEW_ARRAY, FT_PAD_CEIL, FT_RENEW_ARRAY, FT_STREAM_READ, FT_STREAM_SEEK, FT_UINT_MAX, if(), lenIV, PS_PrivateRec_::lenIV, FT_FaceRec_::memory, CID_FaceInfoRec_::num_dicts, CID_SubrsRec_::num_subrs, CID_FaceDictRec_::num_subrs, CID_FaceDictRec_::private_dict, CID_FaceRec_::psaux, CID_FaceRec_::root, CID_FaceDictRec_::sd_bytes, CID_FaceDictRec_::subrmap_offset, CID_FaceRec_::subrs, and PSAux_ServiceRec_::t1_decrypt.
Referenced by cid_face_open().
parse_expansion_factor | ( | CID_Face | face, |
CID_Parser * | parser | ||
) |
Definition at line 246 of file cidload.c.
References cid_parser_to_fixed, PS_PrivateRec_::expansion_factor, CID_FaceDictRec_::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, CID_FaceInfoRec_::num_dicts, and CID_FaceDictRec_::private_dict.
|
static |