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 a5c4d40 commit 448b152Copy full SHA for 448b152
src/FontLib/Table/Type/post.php
@@ -42,10 +42,7 @@ protected function _parse() {
42
case 2:
43
$data["numberOfGlyphs"] = $font->readUInt16();
44
45
- $glyphNameIndex = array();
46
- for ($i = 0; $i < $data["numberOfGlyphs"]; $i++) {
47
- $glyphNameIndex[] = $font->readUInt16();
48
- }
+ $glyphNameIndex = $font->readUInt16Many($data["numberOfGlyphs"]);
49
50
$data["glyphNameIndex"] = $glyphNameIndex;
51
0 commit comments