ttmtx.c File Reference

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

Go to the source code of this file.

Defines

#define FT_COMPONENT   trace_ttmtx
#define FT_STRUCTURE   TT_HoriHeader

Functions

 tt_face_load_hmtx (TT_Face face, FT_Stream stream, FT_Bool vertical)
 tt_face_load_hhea (TT_Face face, FT_Stream stream, FT_Bool vertical)
 tt_face_get_metrics (TT_Face face, FT_Bool vertical, FT_UInt gindex, FT_Short *abearing, FT_UShort *aadvance)


Define Documentation

#define FT_COMPONENT   trace_ttmtx

Definition at line 35 of file ttmtx.c.

#define FT_STRUCTURE   TT_HoriHeader


Function Documentation

tt_face_get_metrics ( TT_Face  face,
FT_Bool  vertical,
FT_UInt  gindex,
FT_Short abearing,
FT_UShort aadvance 
)

Definition at line 349 of file ttmtx.c.

References FT_READ_SHORT, FT_READ_USHORT, FT_STREAM_SEEK, k, TT_HoriHeader_::number_Of_HMetrics, and void.

tt_face_load_hhea ( TT_Face  face,
FT_Stream  stream,
FT_Bool  vertical 
)

Definition at line 256 of file ttmtx.c.

References TT_HoriHeader_::Ascender, TT_HoriHeader_::Descender, FT_FRAME_END, FT_FRAME_SHORT, FT_FRAME_START, FT_FRAME_ULONG, FT_FRAME_USHORT, FT_STREAM_READ_FIELDS, FT_TRACE3, TT_HoriHeader_::long_metrics, NULL, TT_HoriHeader_::number_Of_HMetrics, TT_HoriHeader_::short_metrics, TTAG_hhea, TTAG_vhea, and Version.

tt_face_load_hmtx ( TT_Face  face,
FT_Stream  stream,
FT_Bool  vertical 
)

Definition at line 66 of file ttmtx.c.

References error, FT_STREAM_POS, TTAG_hmtx, and TTAG_vmtx.


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