t1parse.c File Reference

#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)


Define Documentation

#define FT_COMPONENT   trace_t1parse

Definition at line 53 of file t1parse.c.


Function Documentation

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().

static FT_Error read_pfb_tag ( FT_Stream  stream,
FT_UShort atag,
FT_ULong asize 
) [static]

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  ) 

Definition at line 244 of file t1parse.c.

References FT_FREE.

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.


Generated on Tue Jul 5 15:58:26 2011 for ROOT_528-00b_version by  doxygen 1.5.1