Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / phenx / php-font-lib / src / FontLib / Table / Type / os2.php
1 <?php
2 /**
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
7  */
8
9 namespace FontLib\Table\Type;
10 use FontLib\Table\Table;
11
12 /**
13  * `OS/2` font table.
14  *
15  * @package php-font-lib
16  */
17 class os2 extends Table {
18   protected $def = array(
19     "version"             => self::uint16,
20     "xAvgCharWidth"       => self::int16,
21     "usWeightClass"       => self::uint16,
22     "usWidthClass"        => self::uint16,
23     "fsType"              => self::int16,
24     "ySubscriptXSize"     => self::int16,
25     "ySubscriptYSize"     => self::int16,
26     "ySubscriptXOffset"   => self::int16,
27     "ySubscriptYOffset"   => self::int16,
28     "ySuperscriptXSize"   => self::int16,
29     "ySuperscriptYSize"   => self::int16,
30     "ySuperscriptXOffset" => self::int16,
31     "ySuperscriptYOffset" => self::int16,
32     "yStrikeoutSize"      => self::int16,
33     "yStrikeoutPosition"  => self::int16,
34     "sFamilyClass"        => self::int16,
35     "panose"              => array(self::uint8, 10),
36     "ulCharRange"         => array(self::uint32, 4),
37     "achVendID"           => array(self::char, 4),
38     "fsSelection"         => self::uint16,
39     "fsFirstCharIndex"    => self::uint16,
40     "fsLastCharIndex"     => self::uint16,
41     "typoAscender"        => self::int16,
42     "typoDescender"       => self::int16,
43     "typoLineGap"         => self::int16,
44     "winAscent"           => self::int16,
45     "winDescent"          => self::int16,
46   );
47 }