Skip to content

Commit ae4adf3

Browse files
authored
Update File.php
replace $this->directory[$entry->tag] = $entry; to $this->addDirectoryEntry($entry);
1 parent 6137b7d commit ae4adf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FontLib/TrueType/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ function parseTableEntries() {
405405
$entry = new $class($this);
406406
$entry->parse();
407407

408-
$this->directory[$entry->tag] = $entry;
408+
$this->addDirectoryEntry($entry);
409409
}
410410
}
411411

0 commit comments

Comments
 (0)