ttpost.c File Reference

#include <ft2build.h>
#include "ttpost.h"
#include "sferrors.h"

Go to the source code of this file.

Defines

#define FT_COMPONENT   trace_ttpost
#define MAC_NAME(x)   ( (FT_String*)tt_post_default_names[x] )

Functions

static FT_Error load_format_20 (TT_Face face, FT_Stream stream)
static FT_Error load_format_25 (TT_Face face, FT_Stream stream)
static FT_Error load_post_names (TT_Face face)
 tt_face_free_ps_names (TT_Face face)
 tt_face_get_ps_name (TT_Face face, FT_UInt idx, FT_String **PSname)

Variables

static const FT_String *const tt_post_default_names [258]


Define Documentation

#define FT_COMPONENT   trace_ttpost

Definition at line 43 of file ttpost.c.

#define MAC_NAME ( x   )     ( (FT_String*)tt_post_default_names[x] )

Definition at line 64 of file ttpost.c.

Referenced by tt_face_get_ps_name().


Function Documentation

static FT_Error load_format_20 ( TT_Face  face,
FT_Stream  stream 
) [static]

Definition at line 155 of file ttpost.c.

References error, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_FREE, FT_GET_USHORT, FT_NEW_ARRAY, FT_READ_BYTE, FT_READ_USHORT, FT_STREAM_READ, RooFitShortHand::L(), len, n, num_names, and PC3::stream().

Referenced by load_post_names().

static FT_Error load_format_25 ( TT_Face  face,
FT_Stream  stream 
) [static]

Definition at line 273 of file ttpost.c.

References error, FT_FREE, FT_NEW_ARRAY, FT_READ_USHORT, FT_STREAM_READ, n, and PC3::stream().

Referenced by load_post_names().

static FT_Error load_post_names ( TT_Face  face  )  [static]

Definition at line 336 of file ttpost.c.

References error, FT_STREAM_SKIP, load_format_20(), load_format_25(), PC3::stream(), and TTAG_post.

Referenced by tt_face_get_ps_name().

tt_face_free_ps_names ( TT_Face  face  ) 

Definition at line 373 of file ttpost.c.

References FT_FREE, n, and names.

tt_face_get_ps_name ( TT_Face  face,
FT_UInt  idx,
FT_String **  PSname 
)

Definition at line 435 of file ttpost.c.

References Rgl::Pad::End(), error, if(), load_post_names(), MAC_NAME, and names.

Referenced by FT_DEFINE_SERVICE_SFNT_TABLEREC().


Variable Documentation

const FT_String* const tt_post_default_names[258] [static]

Definition at line 68 of file ttpost.c.


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