public final function parse() { $this->entry->startRead(); if (false && empty($this->def)) { $this->_parseRaw(); } else { $this->_parse(); } $this->entry->endRead(); }
function startRead() { parent::startRead(); if ($this->length == $this->origLength) { return true; } $font = $this->font; $font->fileOffset = $font->pos(); $data = $font->read($this->length); $f = self::getTempFile(); fwrite($f, gzuncompress($data)); rewind($f); $font->origF = $font->f; $font->f = $f; }