freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [autofit] Fix typos.


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] [autofit] Fix typos.
Date: Mon, 04 Sep 2023 17:27:09 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • ad201739
    by Werner Lemberg at 2023-09-04T19:26:31+02:00
    [autofit] Fix typos.
    
    This also reduces the used heap size by a large factor.
    
    >From Behdad.
    
    * src/autofit/afcjk.h (AF_CJKAxisRec): Use `AF_BLUE_STRINGSET_MAX_LEN`.
    * src/autofit/aflatin.h (AF_LatinAxisRec): Ditto.
    

2 changed files:

Changes:

  • src/autofit/afcjk.h
    ... ... @@ -84,7 +84,7 @@ FT_BEGIN_HEADER
    84 84
         /* used for horizontal metrics too for CJK */
    
    85 85
         FT_Bool        control_overshoot;
    
    86 86
         FT_UInt        blue_count;
    
    87
    -    AF_CJKBlueRec  blues[AF_BLUE_STRINGSET_MAX];
    
    87
    +    AF_CJKBlueRec  blues[AF_BLUE_STRINGSET_MAX_LEN];
    
    88 88
     
    
    89 89
         FT_Fixed       org_scale;
    
    90 90
         FT_Pos         org_delta;
    

  • src/autofit/aflatin.h
    ... ... @@ -98,7 +98,7 @@ FT_BEGIN_HEADER
    98 98
     
    
    99 99
         /* ignored for horizontal metrics */
    
    100 100
         FT_UInt          blue_count;
    
    101
    -    AF_LatinBlueRec  blues[AF_BLUE_STRINGSET_MAX];
    
    101
    +    AF_LatinBlueRec  blues[AF_BLUE_STRINGSET_MAX_LEN];
    
    102 102
     
    
    103 103
         FT_Fixed         org_scale;
    
    104 104
         FT_Pos           org_delta;
    


  • reply via email to

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