freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] * src/sfnt/ttpost.c (load_format_20): R


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * src/sfnt/ttpost.c (load_format_20): Rework tracing.
Date: Thu, 31 Aug 2023 03:05:31 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 000b26a3
    by Alexei Podtelezhnikov at 2023-08-30T23:03:02-04:00
    * src/sfnt/ttpost.c (load_format_20): Rework tracing.
    

1 changed file:

Changes:

  • src/sfnt/ttpost.c
    ... ... @@ -224,10 +224,9 @@
    224 224
             FT_UInt  len = strings[p];
    
    225 225
     
    
    226 226
     
    
    227
    -        /* accept but report names longer than the AGL max */
    
    228
    -        FT_TRACE4(( len < 40U ? "" 
    
    229
    -                              : "load_format_20: %u-byte name found\n",
    
    230
    -                                len ));
    
    227
    +        /* all names in Adobe Glyph List are shorter than 40 characters */
    
    228
    +        if ( len >= 40U )
    
    229
    +          FT_TRACE4(( "load_format_20: unusual %u-char name found\n", len ));
    
    231 230
     
    
    232 231
             strings[p]      = 0;
    
    233 232
             name_strings[n] = strings + p + 1;
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]