Lines Matching defs:version

198 	public $version;
264 $this->version = $version = $this->read_ulong();
267 if ($version === 0x4F54544F) {
271 if ($version === 0x74746366 && !$TTCfontID) {
275 if (!in_array($version, [0x00010000, 0x74727565], true) && !$TTCfontID) {
276 throw new \Mpdf\Exception\FontException(sprintf('Not a TrueType font: version=%s)', $version));
280 $this->version = $version = $this->read_ulong(); // TTC Header version now
281 if (!in_array($version, [0x00010000, 0x00020000], true)) {
282 throw new \Mpdf\Exception\FontException(sprintf('Error parsing TrueType Collection: version=%s - (%s)', $version, $file));
289 $this->version = $version = $this->read_ulong(); // TTFont version again now
576 $this->version = $version = $this->read_ulong(); // TTC Header version now
577 if (!in_array($version, [0x00010000, 0x00020000], true)) {
578 throw new \Mpdf\Exception\FontException(sprintf("Error parsing TrueType Collection: version=%s (%s)", $version, $file));
585 $this->version = $version = $this->read_ulong(); // TTFont version again now
656 $this->version = $version = $this->read_ulong();
657 if ($version === 0x74746366) {
658 $this->version = $version = $this->read_ulong(); // TTC Header version now
659 if (!in_array($version, [0x00010000, 0x00020000], true)) {
660 throw new \Mpdf\Exception\FontException(sprintf("Error parsing TrueType Collection: version=%s (%s)", $version, $file));
663 throw new \Mpdf\Exception\FontException(sprintf("Not a TrueType Collection: version=%s (%s)", $version, $file));
795 throw new \Mpdf\Exception\FontException('Error loading font: Unknown head table version ' . $ver_maj . '.' . $ver_min);
842 $version = $this->read_ushort();
896 if ($version > 1) {
924 // This works with Myanmar Text (Windows 8 version) to give a
953 throw new \Mpdf\Exception\FontException(sprintf('Error loading font: Unknown post table version %s', $ver_maj));
981 throw new \Mpdf\Exception\FontException(sprintf('Error loading font: Unknown hhea table version %s', $ver_maj));
1005 throw new \Mpdf\Exception\FontException(sprintf('Error loading font: Unknown maxp table version %s', $ver_maj));
1206 $version = $this->read_ushort();
1214 if ($kern_offset && $version == 0 && $format == 0) {
2232 // This version does not exclude RA (0631) FEAE; Ya (064A) FEF2; Alef Maqsurah (0649) FEF0 which
2283 // Old version eg 'deva' <pref>, <blwf> and <pstf>, features are applied to Consonant + Halant
2295 // If Halant Cons <pref>, <blwf> and <pstf> in New version only
2305 // and <pref>, <blwf> and <pstf> in Old version
2323 // and <pref>, <blwf> and <pstf> in Old version
2324 // If Halant Cons <pref>, <blwf> and <pstf> in New version only
3483 $this->version = $version = $this->read_ulong(); // TTC Header version now
3484 if (!in_array($version, [0x00010000, 0x00020000], true)) {
3485 throw new \Mpdf\Exception\FontException(sprintf('Error parsing TrueType Collection: version=%s - %s', $version, $file));
3492 $this->version = $version = $this->read_ulong(); // TTFont version again now
3663 0, 3, // Index : version, number of encoding subtables
3975 $this->version = $version = $this->read_ulong(); // TTC Header version now
3976 if (!in_array($version, [0x00010000, 0x00020000])) {
3977 throw new \Mpdf\Exception\FontException("ERROR - Error parsing TrueType Collection: version=" . $version . " - " . $file);
3984 $this->version = $version = $this->read_ulong(); // TTFont version again now
4333 0, 2, // Index : version, number of subtables
4787 $this->version = $version = $this->read_ulong(); // TTC Header version now
4788 if (!in_array($version, [0x00010000, 0x00020000], true)) {
4789 throw new \Mpdf\Exception\FontException(sprintf('Error parsing TrueType Collection: version=%s - %s', $version, $file));
4796 $this->version = $version = $this->read_ulong(); // TTFont version again now
4897 $cmap = [0, 3, // Index : version, number of encoding subtables