mirror of https://github.com/freetype/freetype
* src/sfnt/ttpost.c (load_format_20): Rework tracing.
This commit is contained in:
parent
dd1ced4ee3
commit
000b26a30f
|
@ -224,10 +224,9 @@
|
|||
FT_UInt len = strings[p];
|
||||
|
||||
|
||||
/* accept but report names longer than the AGL max */
|
||||
FT_TRACE4(( len < 40U ? ""
|
||||
: "load_format_20: %u-byte name found\n",
|
||||
len ));
|
||||
/* all names in Adobe Glyph List are shorter than 40 characters */
|
||||
if ( len >= 40U )
|
||||
FT_TRACE4(( "load_format_20: unusual %u-char name found\n", len ));
|
||||
|
||||
strings[p] = 0;
|
||||
name_strings[n] = strings + p + 1;
|
||||
|
|
Loading…
Reference in New Issue