mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-03-24 01:00:35 +01:00
* src/sfnt/ttgpos.c (tt_face_get_class): Fix range check.
Fixes issue #1392.
This commit is contained in:
parent
6995a34628
commit
b2c8a031a2
1 changed files with 1 additions and 1 deletions
|
|
@ -817,7 +817,7 @@
|
|||
|
||||
/* XXX: Is this modulo 65536 arithmetic? */
|
||||
if ( startGlyphID <= glyph_index &&
|
||||
startGlyphID + glyphCount >= glyph_index )
|
||||
startGlyphID + glyphCount > glyph_index )
|
||||
return FT_PEEK_USHORT( p + ( glyph_index - startGlyphID ) * 2 );
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue