Lines Matching refs:version
161 var $version;
195 $this->version = $version = $this->read_ulong();
198 if ($version == 0x4F54544F) {
202 if ($version == 0x74746366 && !$TTCfontID) {
206 if (!in_array($version, [0x00010000, 0x74727565]) && !$TTCfontID) {
207 throw new \Mpdf\Exception\FontException("Not a TrueType font: version=" . $version);
211 $this->version = $version = $this->read_ulong(); // TTC Header version now
212 if (!in_array($version, [0x00010000, 0x00020000])) {
213 throw new \Mpdf\Exception\FontException("Error parsing TrueType Collection: version=" . $version . " - " . $file);
220 $this->version = $version = $this->read_ulong(); // TTFont version again now
584 throw new \Mpdf\Exception\FontException('Error loading font: Unknown head table version ' . $ver_maj . '.' . $ver_min);
630 $version = $this->read_ushort();
661 if ($version > 1) {
688 throw new \Mpdf\Exception\FontException('Error loading font: Unknown post table version ' . $ver_maj);
718 throw new \Mpdf\Exception\FontException(sprintf('Error loading font: Unknown hhea table version %s', $ver_maj));
741 throw new \Mpdf\Exception\FontException('Error loading font: Unknown maxp table version ' . $ver_maj);
906 $version = $this->read_ushort();
913 if ($kern_offset && $version == 0 && $format == 0) {