#include <ft2build.h>
#include "t1parse.h"
#include "t1errors.h"
Go to the source code of this file.
Defines | |
#define | FT_COMPONENT trace_t1parse |
Functions | |
static FT_Error | read_pfb_tag (FT_Stream stream, FT_UShort *atag, FT_ULong *asize) |
static FT_Error | check_type1_format (FT_Stream stream, const char *header_string, size_t header_length) |
T1_New_Parser (T1_Parser parser, FT_Stream stream, FT_Memory memory, PSAux_Service psaux) | |
T1_Finalize_Parser (T1_Parser parser) | |
T1_Get_Private_Dict (T1_Parser parser, PSAux_Service psaux) |
static FT_Error check_type1_format | ( | FT_Stream | stream, | |
const char * | header_string, | |||
size_t | header_length | |||
) | [static] |
Definition at line 98 of file t1parse.c.
References dummy, error, FT_FRAME_ENTER, FT_FRAME_EXIT, ft_memcmp, FT_STREAM_SEEK, read_pfb_tag(), and PC3::stream().
Referenced by T1_New_Parser().
Definition at line 70 of file t1parse.c.
References error, FT_READ_ULONG_LE, FT_READ_USHORT, and size.
Referenced by check_type1_format(), T1_Get_Private_Dict(), and T1_New_Parser().
T1_Finalize_Parser | ( | T1_Parser | parser | ) |
T1_Get_Private_Dict | ( | T1_Parser | parser, | |
PSAux_Service | psaux | |||
) |
Definition at line 261 of file t1parse.c.
References error, for(), FT_ALLOC, FT_ERROR, FT_STREAM_POS, FT_STREAM_READ, FT_STREAM_SEEK, FT_STREAM_SKIP, read_pfb_tag(), size, and PC3::stream().
T1_New_Parser | ( | T1_Parser | parser, | |
FT_Stream | stream, | |||
FT_Memory | memory, | |||
PSAux_Service | psaux | |||
) |
Definition at line 136 of file t1parse.c.
References check_type1_format(), error, FT_ALLOC, FT_FREE, FT_STREAM_READ, FT_STREAM_SEEK, FT_STREAM_SKIP, FT_TRACE2, if(), RooFitShortHand::L(), read_pfb_tag(), and size.