#include <ft2build.h>
#include "ttkern.h"
#include "sferrors.h"
Go to the source code of this file.
◆ FT_COMPONENT
#define FT_COMPONENT trace_ttkern |
◆ TT_KERN_INDEX
◆ tt_face_done_kern()
Definition at line 173 of file ttkern.c.
179 face->kern_table_size = 0;
180 face->num_kern_tables = 0;
181 face->kern_avail_bits = 0;
182 face->kern_order_bits = 0;
#define FT_FRAME_RELEASE(bytes)
GLenum GLuint GLint GLenum face
Referenced by sfnt_done_face().
◆ tt_face_get_kerning()
Definition at line 187 of file ttkern.c.
201 count > 0 &&
p + 6 <= p_limit;
217 if (
next > p_limit )
220 if ( (
face->kern_avail_bits &
mask ) == 0 )
228 if ( (
next -
p ) < 6 * (
int)num_pairs )
231 switch ( coverage >> 8 )
269 for ( count2 = num_pairs; count2 > 0; count2-- )
FT_UInt FT_UInt right_glyph
GLuint GLuint GLsizei count
#define FT_ASSERT(condition)
GLenum GLuint GLenum GLsizei length
static const WCHAR version[]
GLdouble GLdouble GLdouble GLdouble q
GLsizei const GLfloat * value
#define FT_NEXT_USHORT(buffer)
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLuint key0
static unsigned __int64 next
#define FT_NEXT_ULONG(buffer)
#define TT_KERN_INDEX(g1, g2)
GLenum GLuint GLint GLenum face
◆ tt_face_load_kern()
Definition at line 44 of file ttkern.c.
52 FT_UInt32
avail = 0, ordered = 0;
63 " kerning table is too small - ignored\n" ));
71 " could not extract kerning table\n" ));
83 if ( num_tables > 32 )
86 for ( nn = 0; nn < num_tables; nn++ )
90 FT_UInt32
mask = (FT_UInt32)1
UL << nn;
93 if (
p + 6 > p_limit )
107 if ( p_next > p_limit )
117 if ( ( coverage & 3
U ) != 0x0001 ||
124 if ( ( p_next -
p ) < 6 * (
int)num_pairs )
125 num_pairs = (
FT_UInt)( ( p_next -
p ) / 6 );
148 if ( cur_pair <= old_pair )
163 face->num_kern_tables = nn;
165 face->kern_order_bits = ordered;
GLuint GLuint GLsizei count
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
#define FT_ERROR(varformat)
GLenum GLuint GLenum GLsizei length
#define FT_NEXT_USHORT(buffer)
#define FT_NEXT_ULONG(buffer)
#define FT_FRAME_EXTRACT(size, bytes)
GLenum GLuint GLint GLenum face