48 |
FT_Stream stream ) |
FT_Stream stream ) |
49 |
{ |
{ |
50 |
FT_Error error; |
FT_Error error; |
|
FT_Memory memory = stream->memory; |
|
51 |
FT_ULong table_size; |
FT_ULong table_size; |
52 |
FT_Byte* p; |
FT_Byte* p; |
53 |
FT_Byte* p_limit; |
FT_Byte* p_limit; |
183 |
FT_Int result = 0; |
FT_Int result = 0; |
184 |
FT_UInt count, mask = 1; |
FT_UInt count, mask = 1; |
185 |
FT_Byte* p = face->kern_table; |
FT_Byte* p = face->kern_table; |
|
FT_Byte* p_limit = p + face->kern_table_size; |
|
186 |
|
|
187 |
|
|
188 |
p += 4; |
p += 4; |
197 |
FT_UInt coverage = FT_NEXT_USHORT( p ); |
FT_UInt coverage = FT_NEXT_USHORT( p ); |
198 |
FT_Int value = 0; |
FT_Int value = 0; |
199 |
|
|
200 |
|
FT_UNUSED(version); |
201 |
|
|
202 |
next = base + length; |
next = base + length; |
203 |
|
|
221 |
{ |
{ |
222 |
FT_UInt min = 0; |
FT_UInt min = 0; |
223 |
FT_UInt max = num_pairs; |
FT_UInt max = num_pairs; |
|
FT_Byte* q; |
|
224 |
|
|
225 |
|
|
226 |
while ( min < max ) |
while ( min < max ) |
285 |
p = next; |
p = next; |
286 |
} |
} |
287 |
|
|
|
Exit: |
|
288 |
return result; |
return result; |
289 |
} |
} |
290 |
|
|