Lines Matching defs:bdf
5 /* TrueType and OpenType embedded BDF properties (body). */
43 TT_BDF bdf = &face->bdf;
46 if ( bdf->loaded )
51 if ( bdf->table != NULL )
52 FT_FRAME_RELEASE( bdf->table );
54 bdf->table_end = NULL;
55 bdf->strings = NULL;
56 bdf->strings_size = 0;
65 TT_BDF bdf = &face->bdf;
70 FT_ZERO( bdf );
75 FT_FRAME_EXTRACT( length, bdf->table ) )
81 bdf->table_end = bdf->table + length;
84 FT_Byte* p = bdf->table;
100 bdf->num_strikes = num_strikes;
101 bdf->strings = bdf->table + strings;
102 bdf->strings_size = length - strings;
104 count = bdf->num_strikes;
105 p = bdf->table + 8;
122 if ( strike > bdf->strings )
126 bdf->loaded = 1;
132 FT_FRAME_RELEASE( bdf->table );
133 FT_ZERO( bdf );
144 TT_BDF bdf = &face->bdf;
155 if ( bdf->loaded == 0 )
162 count = bdf->num_strikes;
163 p = bdf->table + 8;
202 if ( name_offset < bdf->strings_size &&
203 property_len < bdf->strings_size - name_offset &&
205 (const char*)bdf->strings + name_offset,
206 bdf->strings_size - name_offset ) == 0 )
213 if ( value < bdf->strings_size &&
214 ft_memchr( bdf->strings + value, 0, bdf->strings_size ) )
217 aprop->u.atom = (const char*)bdf->strings + value;