freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * src/sfnt/sfwoff2.c (woff2_open_font):


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * src/sfnt/sfwoff2.c (woff2_open_font): Fix copy-paste typo.
Date: Fri, 03 May 2024 16:04:37 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 7bd887f1
    by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-05-03T16:04:35+00:00
    * src/sfnt/sfwoff2.c (woff2_open_font): Fix copy-paste typo.

1 changed file:

Changes:

  • src/sfnt/sfwoff2.c
    ... ... @@ -2201,9 +2201,9 @@
    2201 2201
         {
    
    2202 2202
           FT_Byte*  sfnt_header = sfnt;
    
    2203 2203
     
    
    2204
    -      FT_Int  entrySelector = FT_MSB( woff.num_tables );
    
    2204
    +      FT_Int  entrySelector = FT_MSB( woff2.num_tables );
    
    2205 2205
           FT_Int  searchRange   = ( 1 << entrySelector ) * 16;
    
    2206
    -      FT_Int  rangeShift    = woff.num_tables * 16 - searchRange;
    
    2206
    +      FT_Int  rangeShift    = woff2.num_tables * 16 - searchRange;
    
    2207 2207
     
    
    2208 2208
     
    
    2209 2209
           WRITE_ULONG ( sfnt_header, woff2.flavor );
    


  • reply via email to

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