#include <ft2build.h>Go to the source code of this file.
Classes | |
| struct | AFM_ValueRec_ |
Defines | |
| #define | AFM_MAX_ARGUMENTS 5 |
Typedefs | |
| typedef AFM_ValueRec_ | AFM_ValueRec |
| typedef AFM_ValueRec_ * | AFM_Value |
Enumerations | |
| enum | AFM_ValueType_ |
Functions | |
| FT_BEGIN_HEADER | afm_parser_init (AFM_Parser parser, FT_Memory memory, FT_Byte *base, FT_Byte *limit) |
| afm_parser_done (AFM_Parser parser) | |
| afm_parser_parse (AFM_Parser parser) | |
| afm_parser_read_vals (AFM_Parser parser, AFM_Value vals, FT_UInt n) | |
| afm_parser_next_key (AFM_Parser parser, FT_Bool line, FT_Offset *len) | |
| #define AFM_MAX_ARGUMENTS 5 |
| typedef struct AFM_ValueRec_ * AFM_Value |
| typedef struct AFM_ValueRec_ AFM_ValueRec |
| enum AFM_ValueType_ |
Definition at line 45 of file afmparse.h.
| afm_parser_done | ( | AFM_Parser | parser | ) |
| FT_BEGIN_HEADER afm_parser_init | ( | AFM_Parser | parser, | |
| FT_Memory | memory, | |||
| FT_Byte * | base, | |||
| FT_Byte * | limit | |||
| ) |
Definition at line 525 of file afmparse.c.
References AFM_STREAM_STATUS_EOL, error, FT_NEW, NULL, and PC3::stream().
| afm_parser_next_key | ( | AFM_Parser | parser, | |
| FT_Bool | line, | |||
| FT_Offset * | len | |||
| ) |
Definition at line 441 of file afmparse.c.
References AFM_STATUS_EOC, AFM_STATUS_EOF, AFM_STATUS_EOL, AFM_STREAM_KEY_LEN, afm_stream_read_one(), afm_stream_read_string(), AFM_STREAM_STATUS_NORMAL, and PC3::stream().
Referenced by afm_parse_kern_data(), afm_parse_kern_pairs(), afm_parse_track_kern(), afm_parser_parse(), and afm_parser_skip_section().
| afm_parser_parse | ( | AFM_Parser | parser | ) |
Definition at line 847 of file afmparse.c.
References afm_parse_kern_data(), afm_parser_next_key(), afm_parser_read_int(), afm_parser_read_vals(), afm_parser_skip_section(), AFM_TOKEN_ASCENDER, AFM_TOKEN_DESCENDER, AFM_TOKEN_ENDCHARMETRICS, AFM_TOKEN_ENDFONTMETRICS, AFM_TOKEN_FONTBBOX, AFM_TOKEN_ISCIDFONT, AFM_TOKEN_METRICSSETS, AFM_TOKEN_STARTCHARMETRICS, AFM_TOKEN_STARTKERNDATA, afm_tokenize(), AFM_VALUE_TYPE_BOOL, AFM_VALUE_TYPE_FIXED, AFM_FontInfoRec_::Ascender, AFM_ValueRec_::b, AFM_FontInfoRec_::Descender, error, AFM_ValueRec_::f, fi, AFM_FontInfoRec_::FontBBox, FT_FREE, ft_strncmp, AFM_FontInfoRec_::IsCIDFont, AFM_FontInfoRec_::KernPairs, len, n, AFM_FontInfoRec_::NumKernPair, AFM_FontInfoRec_::NumTrackKern, AFM_FontInfoRec_::TrackKerns, AFM_ValueRec_::type, AFM_ValueRec_::u, FT_BBox_::xMax, FT_BBox_::xMin, FT_BBox_::yMax, and FT_BBox_::yMin.
| afm_parser_read_vals | ( | AFM_Parser | parser, | |
| AFM_Value | vals, | |||
| FT_UInt | n | |||
| ) |
Definition at line 367 of file afmparse.c.
References AFM_MAX_ARGUMENTS, AFM_STREAM_KEY_LEN, afm_stream_read_one(), afm_stream_read_string(), AFM_VALUE_TYPE_BOOL, AFM_VALUE_TYPE_FIXED, AFM_VALUE_TYPE_INDEX, AFM_VALUE_TYPE_INTEGER, AFM_VALUE_TYPE_NAME, AFM_VALUE_TYPE_STRING, error, FT_BOOL, ft_memcpy, FT_QALLOC, ft_strncmp, i, len, PS_Conv_ToFixed(), PS_Conv_ToInt(), str, PC3::stream(), and val.
Referenced by afm_parse_kern_pairs(), afm_parse_track_kern(), afm_parser_parse(), and afm_parser_read_int().
1.5.1