ttdriver.c File Reference

#include <ft2build.h>
#include "ttdriver.h"
#include "ttgload.h"
#include "ttpload.h"
#include "tterrors.h"
#include "ttpic.h"

Go to the source code of this file.

Defines

#define FT_COMPONENT   trace_ttdriver
#define PAIR_TAG(left, right)
#define TT_HINTER_FLAG   0
#define TT_SIZE_SELECT   0

Functions

static FT_Error tt_get_kerning (FT_Face ttface, FT_UInt left_glyph, FT_UInt right_glyph, FT_Vector *kerning)
static FT_Error tt_get_advances (FT_Face ttface, FT_UInt start, FT_UInt count, FT_Int32 flags, FT_Fixed *advances)
static FT_Error tt_size_request (FT_Size size, FT_Size_Request req)
static FT_Error Load_Glyph (FT_GlyphSlot ttslot, FT_Size ttsize, FT_UInt glyph_index, FT_Int32 load_flags)
 FT_DEFINE_SERVICE_TTGLYFREC (tt_service_truetype_glyf,(TT_Glyf_GetLocationFunc) tt_face_get_location) FT_DEFINE_SERVICEDESCREC3(tt_services
&FT_TT_SERVICE_TRUETYPE_GLYF_GET tt_get_interface (FT_Module driver, const char *tt_interface)

Variables

static const FT_Service_TrueTypeEngineRec tt_service_truetype_engine
 FT_SERVICE_ID_XF86_NAME
 FT_XF86_FORMAT_TRUETYPE
 FT_SERVICE_ID_TRUETYPE_ENGINE
tt_service_truetype_engine
 FT_SERVICE_ID_TT_GLYF


Define Documentation

#define FT_COMPONENT   trace_ttdriver

Definition at line 53 of file ttdriver.c.

#define PAIR_TAG ( left,
right   ) 

Value:

( ( (FT_ULong)left << 16 ) | \
                                     (FT_ULong)right        )

Definition at line 70 of file ttdriver.c.

#define TT_HINTER_FLAG   0

Definition at line 434 of file ttdriver.c.

#define TT_SIZE_SELECT   0

Definition at line 440 of file ttdriver.c.


Function Documentation

FT_DEFINE_SERVICE_TTGLYFREC ( tt_service_truetype_glyf  ,
(TT_Glyf_GetLocationFunc tt_face_get_location 
)

static FT_Error Load_Glyph ( FT_GlyphSlot  ttslot,
FT_Size  ttsize,
FT_UInt  glyph_index,
FT_Int32  load_flags 
) [static]

Definition at line 285 of file ttdriver.c.

References FT_GlyphSlotRec_::face, FT_IS_TRICKY, FT_LOAD_NO_AUTOHINT, FT_LOAD_NO_BITMAP, FT_LOAD_NO_HINTING, FT_LOAD_NO_RECURSE, FT_LOAD_NO_SCALE, size, and TT_Load_Glyph().

static FT_Error tt_get_advances ( FT_Face  ttface,
FT_UInt  start,
FT_UInt  count,
FT_Int32  flags,
FT_Fixed advances 
) [static]

Definition at line 130 of file ttdriver.c.

References FT_Bool, FT_BOOL, FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH, FT_LOAD_VERTICAL_LAYOUT, TT_Get_HMetrics(), and TT_Get_VMetrics().

& FT_TT_SERVICE_TRUETYPE_GLYF_GET tt_get_interface ( FT_Module  driver,
const char *  tt_interface 
)

Definition at line 402 of file ttdriver.c.

References FT_ModuleRec_::clazz, FT_Get_Module(), ft_service_list_lookup(), FT_TT_SERVICES_GET, SFNT_Interface_::get_interface, FT_Module_Class_::module_interface, and result().

static FT_Error tt_get_kerning ( FT_Face  ttface,
FT_UInt  left_glyph,
FT_UInt  right_glyph,
FT_Vector kerning 
) [static]

Definition at line 107 of file ttdriver.c.

References SFNT_Interface_::get_kerning, if(), and kerning().

static FT_Error tt_size_request ( FT_Size  size,
FT_Size_Request  req 
) [static]

Definition at line 223 of file ttdriver.c.

References FT_HAS_FIXED_SIZES, FT_IS_SCALABLE, FT_Request_Metrics(), TT_FaceRec_::sfnt, size, TT_SizeRec_::strike_index, and tt_size_reset().


Variable Documentation

FT_SERVICE_ID_TRUETYPE_ENGINE

Definition at line 395 of file ttdriver.c.

FT_SERVICE_ID_TT_GLYF

Definition at line 395 of file ttdriver.c.

FT_SERVICE_ID_XF86_NAME

Definition at line 395 of file ttdriver.c.

FT_XF86_FORMAT_TRUETYPE

Definition at line 395 of file ttdriver.c.

& tt_service_truetype_engine

Definition at line 395 of file ttdriver.c.

const FT_Service_TrueTypeEngineRec tt_service_truetype_engine [static]

Initial value:

Definition at line 365 of file ttdriver.c.


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