We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26576c9 commit bccb423Copy full SHA for bccb423
src/FontLib/BinaryStream.php
@@ -342,6 +342,18 @@ public function r($type) {
342
if ($type[0] == self::char) {
343
return $this->read($type[1]);
344
}
345
+ if ($type[0] == self::uint16) {
346
+ return $this->readUInt16Many($type[1]);
347
+ }
348
+ if ($type[0] == self::int16) {
349
+ return $this->readInt16Many($type[1]);
350
351
+ if ($type[0] == self::uint8) {
352
+ return $this->readUInt8Many($type[1]);
353
354
+ if ($type[0] == self::int8) {
355
+ return $this->readInt8Many($type[1]);
356
357
358
$ret = array();
359
for ($i = 0; $i < $type[1]; $i++) {
0 commit comments