diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2017-09-11 15:48:50 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2017-09-13 17:11:11 +0900 |
commit | ebaa2828742c893f6095fd748ae3828624c9d2fb (patch) | |
tree | daf3123f35353fb07f3db2d79fa7210112efaafc | |
parent | 67219481a87f8618cd95673c16b2f42829129a9d (diff) | |
download | freetype2-ebaa2828742c893f6095fd748ae3828624c9d2fb.tar.gz |
cpp-conditionalize a too long string > 64k, because it is always false on 16bit system.
-rw-r--r-- | src/type1/t1afm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/type1/t1afm.c b/src/type1/t1afm.c index 11a2646fc..f4f1ac7a1 100644 --- a/src/type1/t1afm.c +++ b/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++ ) { |