Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
7bd887f1
by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-05-03T16:04:35+00:00
1 changed file:
Changes:
... | ... | @@ -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 );
|