@@ -587,9 +587,11 @@ def test_ft2font_get_sfnt(font_name, expected):
587587 'yStrikeoutSize' : 102 , 'yStrikeoutPosition' : 530 ,
588588 'sFamilyClass' : 0 ,
589589 'panose' : b'\x02 \x0b \x06 \x03 \x03 \x08 \x04 \x02 \x02 \x04 ' ,
590- 'ulCharRange ' : (3875565311 , 3523280383 , 170156073 , 67117068 ),
590+ 'ulUnicodeRange ' : (3875565311 , 3523280383 , 170156073 , 67117068 ),
591591 'achVendID' : b'PfEd' ,
592- 'fsSelection' : 64 , 'fsFirstCharIndex' : 32 , 'fsLastCharIndex' : 65535 ,
592+ 'fsSelection' : 64 , 'usFirstCharIndex' : 32 , 'usLastCharIndex' : 65535 ,
593+ 'sTypoAscender' : 1556 , 'sTypoDescender' : - 492 , 'sTypoLineGap' : 410 ,
594+ 'usWinAscent' : 1901 , 'usWinDescent' : 483 ,
593595 'ulCodePageRange' : (1610613247 , 3758030848 ),
594596 },
595597 'hhea' : {
@@ -654,9 +656,11 @@ def test_ft2font_get_sfnt(font_name, expected):
654656 'yStrikeoutSize' : 102 , 'yStrikeoutPosition' : 530 ,
655657 'sFamilyClass' : 0 ,
656658 'panose' : b'\x02 \x0b \x05 \x00 \x00 \x00 \x00 \x00 \x00 \x00 ' ,
657- 'ulCharRange ' : (0 , 0 , 0 , 0 ),
659+ 'ulUnicodeRange ' : (0 , 0 , 0 , 0 ),
658660 'achVendID' : b'\x00 \x00 \x00 \x00 ' ,
659- 'fsSelection' : 64 , 'fsFirstCharIndex' : 32 , 'fsLastCharIndex' : 9835 ,
661+ 'fsSelection' : 64 , 'usFirstCharIndex' : 32 , 'usLastCharIndex' : 9835 ,
662+ 'sTypoAscender' : 1276 , 'sTypoDescender' : - 469 , 'sTypoLineGap' : 0 ,
663+ 'usWinAscent' : 1430 , 'usWinDescent' : 477 ,
660664 },
661665 'hhea' : {
662666 'version' : (1 , 0 ),
@@ -734,9 +738,11 @@ def test_ft2font_get_sfnt(font_name, expected):
734738 'yStrikeoutSize' : 20 , 'yStrikeoutPosition' : 1037 ,
735739 'sFamilyClass' : 0 ,
736740 'panose' : b'\x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00 ' ,
737- 'ulCharRange ' : (3 , 192 , 0 , 0 ),
741+ 'ulUnicodeRange ' : (3 , 192 , 0 , 0 ),
738742 'achVendID' : b'STIX' ,
739- 'fsSelection' : 32 , 'fsFirstCharIndex' : 32 , 'fsLastCharIndex' : 10217 ,
743+ 'fsSelection' : 32 , 'usFirstCharIndex' : 32 , 'usLastCharIndex' : 10217 ,
744+ 'sTypoAscender' : 750 , 'sTypoDescender' : - 250 , 'sTypoLineGap' : 1499 ,
745+ 'usWinAscent' : 2095 , 'usWinDescent' : 404 ,
740746 'ulCodePageRange' : (2688417793 , 2432565248 ),
741747 'sxHeight' : 0 ,
742748 'sCapHeight' : 0 ,
0 commit comments