Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
ttkern.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Macros

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

Functions

FT_BEGIN_HEADER 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)
 

Macro Definition Documentation

◆ TT_FACE_HAS_KERNING

#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_done_kern ( TT_Face  face)

Definition at line 167 of file ttkern.c.

References FT_FRAME_RELEASE, and FT_LOCAL_DEF.

Referenced by sfnt_done_face().

◆ tt_face_get_kerning()

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, vl::min(), TT_KERN_INDEX, and version.

◆ tt_face_load_kern()

FT_BEGIN_HEADER tt_face_load_kern ( TT_Face  face,
FT_Stream  stream 
)