35#define FT_COMPONENT ttkern
39#define TT_KERN_INDEX( g1, g2 ) ( ( (FT_ULong)(g1) << 16 ) | (g2) )
51 FT_UInt32
avail = 0, ordered = 0;
62 " kerning table is too small - ignored\n" ));
70 " could not extract kerning table\n" ));
82 if ( num_tables > 32 )
85 for ( nn = 0; nn < num_tables; nn++ )
89 FT_UInt32
mask = (FT_UInt32)1UL << nn;
92 if (
p + 6 > p_limit )
106 if ( p_next > p_limit )
116 if ( ( coverage & 3U ) != 0x0001 ||
123 if ( ( p_next -
p ) < 6 * (
int)num_pairs )
124 num_pairs = (
FT_UInt)( ( p_next -
p ) / 6 );
147 if ( cur_pair <= old_pair )
162 face->num_kern_tables = nn;
164 face->kern_order_bits = ordered;
178 face->kern_table_size = 0;
179 face->num_kern_tables = 0;
180 face->kern_avail_bits = 0;
181 face->kern_order_bits = 0;
200 count > 0 &&
p + 6 <= p_limit;
216 if (
next > p_limit )
219 if ( (
face->kern_avail_bits &
mask ) == 0 )
227 if ( (
next -
p ) < 6 * (
int)num_pairs )
230 switch ( coverage >> 8 )
268 for ( count2 = num_pairs; count2 > 0; count2-- )
static const WCHAR version[]
#define FT_ASSERT(condition)
#define FT_ERROR(varformat)
#define FT_FRAME_RELEASE(bytes)
#define FT_NEXT_USHORT(buffer)
#define FT_FRAME_EXTRACT(size, bytes)
#define FT_NEXT_ULONG(buffer)
GLuint GLuint GLsizei count
GLdouble GLdouble GLdouble GLdouble q
GLenum GLuint GLint GLenum face
GLuint GLsizei GLsizei * length
GLuint64EXT GLuint GLuint GLenum GLenum GLuint GLuint key0
static unsigned __int64 next
FT_UInt FT_UInt right_glyph
tt_face_done_kern(TT_Face face)
#define TT_KERN_INDEX(g1, g2)
tt_face_get_kerning(TT_Face face, FT_UInt left_glyph, FT_UInt right_glyph)
tt_face_load_kern(TT_Face face, FT_Stream stream)