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

int-not32-changes-2017
suzuki toshiya 7 years ago
parent 67219481a8
commit ebaa282874
  1. 2
      src/type1/t1afm.c

@ -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++ )
{

Loading…
Cancel
Save