ttkern.c File Reference

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

Go to the source code of this file.

Defines

#define FT_COMPONENT   trace_ttkern
#define TT_KERN_INDEX(g1, g2)   ( ( (FT_ULong)(g1) << 16 ) | (g2) )

Functions

 tt_face_load_kern (TT_Face face, FT_Stream stream)
 tt_face_done_kern (TT_Face face)
 tt_face_get_kerning (TT_Face face, FT_UInt left_glyph, FT_UInt right_glyph)


Define Documentation

#define FT_COMPONENT   trace_ttkern

Definition at line 36 of file ttkern.c.

#define TT_KERN_INDEX ( g1,
g2   )     ( ( (FT_ULong)(g1) << 16 ) | (g2) )

Definition at line 40 of file ttkern.c.

Referenced by tt_face_get_kerning().


Function Documentation

tt_face_done_kern ( TT_Face  face  ) 

Definition at line 167 of file ttkern.c.

References FT_FRAME_RELEASE, and PC3::stream().

Referenced by sfnt_done_face().

tt_face_get_kerning ( TT_Face  face,
FT_UInt  left_glyph,
FT_UInt  right_glyph 
)

Definition at line 181 of file ttkern.c.

References FT_NEXT_ULONG, FT_NEXT_USHORT, FT_PEEK_SHORT, FT_UNUSED, length, mask, max, min, p, result(), TT_KERN_INDEX, value, and version.

tt_face_load_kern ( TT_Face  face,
FT_Stream  stream 
)

Definition at line 44 of file ttkern.c.

References error, FT_ERROR, FT_FRAME_EXTRACT, FT_NEXT_ULONG, FT_NEXT_USHORT, length, mask, p, and TTAG_kern.


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