cpp-conditionalize a too long string > 64k, because it is always false on 16bit system.

This commit is contained in:
suzuki toshiya 2017-09-11 15:48:50 +09:00
parent 67219481a8
commit ebaa282874
1 changed files with 2 additions and 0 deletions

View File

@ -60,9 +60,11 @@
FT_Int n;
#if FT_UINT_MAX > 0xFFFFU
/* PS string/name length must be < 16-bit */
if ( len > 0xFFFFU )
return 0;
#endif
for ( n = 0; n < type1->num_glyphs; n++ )
{