freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [autofit] Fix synchronization mistake b


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] [autofit] Fix synchronization mistake between FreeType and ttfautohint.
Date: Tue, 05 Sep 2023 06:09:44 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • 45903920
    by Werner Lemberg at 2023-09-05T08:09:31+02:00
    [autofit] Fix synchronization mistake between FreeType and ttfautohint.
    
    Found by Behdad.
    
    * src/autofit/aflatin.c (af_latin_metrics_init_blues): Fix array size of
    `blue_sorted`: FreeType doesn't have artificial blue zones.
    

1 changed file:

Changes:

  • src/autofit/aflatin.c
    ... ... @@ -981,7 +981,7 @@
    981 981
           /* `ref' and `shoot' values of two blue zones must not overlap */
    
    982 982
     
    
    983 983
           FT_UInt       i;
    
    984
    -      AF_LatinBlue  blue_sorted[AF_BLUE_STRINGSET_MAX_LEN + 2];
    
    984
    +      AF_LatinBlue  blue_sorted[AF_BLUE_STRINGSET_MAX_LEN];
    
    985 985
     
    
    986 986
     
    
    987 987
           for ( i = 0; i < axis->blue_count; i++ )
    


  • reply via email to

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