zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ttkern.h File Reference
#include <ft2build.h>
#include <FT_INTERNAL_STREAM_H>
#include <FT_INTERNAL_TRUETYPE_TYPES_H>

Go to the source code of this file.

Macros

#define TT_FACE_HAS_KERNING(face)   ( (face)->kern_avail_bits != 0 )
 

Functions

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

Macro Definition Documentation

#define TT_FACE_HAS_KERNING (   face)    ( (face)->kern_avail_bits != 0 )

Definition at line 44 of file ttkern.h.

Referenced by sfnt_load_face().

Function Documentation

tt_face_done_kern ( TT_Face  face)

Definition at line 167 of file ttkern.c.

References FT_FRAME_RELEASE.

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, max, min, TT_KERN_INDEX, and version.

FT_BEGIN_HEADER 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, and TTAG_kern.