Lines 2271-2277
Link Here
|
2271 |
charmap.encoding = FT_ENCODING_NONE; /* will be filled later */ |
2271 |
charmap.encoding = FT_ENCODING_NONE; /* will be filled later */ |
2272 |
offset = TT_NEXT_ULONG( p ); |
2272 |
offset = TT_NEXT_ULONG( p ); |
2273 |
|
2273 |
|
2274 |
if ( offset && table + offset + 2 <= limit ) |
2274 |
if ( offset && offset <= face->cmap_size - 2 ) |
2275 |
{ |
2275 |
{ |
2276 |
FT_Byte* cmap = table + offset; |
2276 |
FT_Byte* cmap = table + offset; |
2277 |
volatile FT_UInt format = TT_PEEK_USHORT( cmap ); |
2277 |
volatile FT_UInt format = TT_PEEK_USHORT( cmap ); |