* src/sfnt/ttpost.c (load_format_20): Rework tracing.

This commit is contained in:
Alexei Podtelezhnikov 2023-08-30 23:03:02 -04:00
parent dd1ced4ee3
commit 000b26a30f
1 changed files with 3 additions and 4 deletions

View File

@ -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;