* src/sfnt/sfwoff2.c (woff2_open_font): Fix copy-paste typo.

adjust
Alexei Podtelezhnikov 8 months ago
parent 3f28a6b6af
commit 7bd887f177
  1. 4
      src/sfnt/sfwoff2.c

@ -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…
Cancel
Save