3 * @package php-font-lib
4 * @link https://github.com/PhenX/php-font-lib
5 * @author Fabien Ménager <fabien.menager@gmail.com>
6 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
9 namespace FontLib\TrueType;
11 use FontLib\Table\DirectoryEntry;
14 * TrueType table directory entry.
16 * @package php-font-lib
18 class TableDirectoryEntry extends DirectoryEntry {
19 function __construct(File $font) {
20 parent::__construct($font);
27 $this->checksum = $font->readUInt32();
28 $this->offset = $font->readUInt32();
29 $this->length = $font->readUInt32();
30 $this->entryLength += 12;