* src/sfnt/sfwoff2.c (woff2_open_font): Fix copy-paste typo.
This commit is contained in:
parent
3f28a6b6af
commit
7bd887f177
@ -2201,9 +2201,9 @@
|
||||
{
|
||||
FT_Byte* sfnt_header = sfnt;
|
||||
|
||||
FT_Int entrySelector = FT_MSB( woff.num_tables );
|
||||
FT_Int entrySelector = FT_MSB( woff2.num_tables );
|
||||
FT_Int searchRange = ( 1 << entrySelector ) * 16;
|
||||
FT_Int rangeShift = woff.num_tables * 16 - searchRange;
|
||||
FT_Int rangeShift = woff2.num_tables * 16 - searchRange;
|
||||
|
||||
|
||||
WRITE_ULONG ( sfnt_header, woff2.flavor );
|
||||
|
Loading…
Reference in New Issue
Block a user