Blame view

public/vendor/phenx/php-font-lib/src/FontLib/WOFF/Header.php 873 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  <?php
  /**
   * @package php-font-lib
   * @link    https://github.com/dompdf/php-font-lib
   * @author  Fabien Ménager <fabien.menager@gmail.com>
   * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
   */
  
  namespace FontLib\WOFF;
  
  /**
   * WOFF font file header.
   *
   * @package php-font-lib
   */
  class Header extends \FontLib\TrueType\Header {
    protected $def = array(
      "format"         => self::uint32,
      "flavor"         => self::uint32,
      "length"         => self::uint32,
      "numTables"      => self::uint16,
      self::uint16,
      "totalSfntSize"  => self::uint32,
      "majorVersion"   => self::uint16,
      "minorVersion"   => self::uint16,
      "metaOffset"     => self::uint32,
      "metaLength"     => self::uint32,
      "metaOrigLength" => self::uint32,
      "privOffset"     => self::uint32,
      "privLength"     => self::uint32,
    );
  }