File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ protected function _parse() {
64
64
$ segCount = $ subtable ["segCountX2 " ] / 2 ;
65
65
$ subtable ["segCount " ] = $ segCount ;
66
66
67
- $ endCode = $ font ->r ( array ( self ::uint16, $ segCount) );
67
+ $ endCode = $ font ->readUInt16Many ( $ segCount );
68
68
69
69
$ font ->readUInt16 (); // reservedPad
70
70
71
- $ startCode = $ font ->r ( array ( self ::uint16, $ segCount) );
72
- $ idDelta = $ font ->r ( array ( self ::int16, $ segCount) );
71
+ $ startCode = $ font ->readUInt16Many ( $ segCount );
72
+ $ idDelta = $ font ->readInt16Many ( $ segCount );
73
73
74
74
$ ro_start = $ font ->pos ();
75
- $ idRangeOffset = $ font ->r ( array ( self ::uint16, $ segCount) );
75
+ $ idRangeOffset = $ font ->readUInt16Many ( $ segCount );
76
76
77
77
$ glyphIndexArray = array ();
78
78
for ($ i = 0 ; $ i < $ segCount ; $ i ++) {
You can’t perform that action at this time.
0 commit comments