27#ifdef TT_CONFIG_OPTION_BDF
36#define FT_COMPONENT ttbdf
42 TT_BDF bdf = &
face->bdf;
53 bdf->table_end =
NULL;
55 bdf->strings_size = 0;
64 TT_BDF bdf = &
face->bdf;
80 bdf->table_end = bdf->table +
length;
93 (
strings - 8 ) / 4 < num_strikes ||
99 bdf->num_strikes = num_strikes;
100 bdf->strings = bdf->table +
strings;
103 count = bdf->num_strikes;
116 strike += 10 * num_items;
121 if ( strike > bdf->strings )
140 const char* property_name,
143 TT_BDF bdf = &
face->bdf;
154 if ( bdf->loaded == 0 )
161 count = bdf->num_strikes;
167 if ( !
size || !property_name )
170 property_len =
ft_strlen( property_name );
171 if ( property_len == 0 )
180 if ( _ppem ==
size->metrics.y_ppem )
186 strike += 10 * _count;
197 if ( (
type & 0x10 ) != 0 )
203 if ( name_offset < bdf->strings_size &&
204 property_len < bdf->strings_size - name_offset &&
206 (
const char*)bdf->strings + name_offset,
207 bdf->strings_size - name_offset ) == 0 )
209 switch (
type & 0x0F )
214 if ( value < bdf->strings_size &&
218 aprop->
u.
atom = (
const char*)bdf->strings +
value;
static const WCHAR version[]
@ BDF_PROPERTY_TYPE_CARDINAL
@ BDF_PROPERTY_TYPE_INTEGER
#define FT_FRAME_RELEASE(bytes)
#define FT_NEXT_USHORT(buffer)
#define FT_PEEK_USHORT(p)
#define FT_FRAME_EXTRACT(size, bytes)
#define FT_NEXT_ULONG(buffer)
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type
GLsizei const GLchar *const * strings
GLenum GLuint GLint GLenum face
GLuint GLsizei GLsizei * length
union BDF_PropertyRec_::@4563 u
tt_face_goto_table(TT_Face face, FT_ULong tag, FT_Stream stream, FT_ULong *length)