/var/www/hkosl.com/imusiccircle/webadmin/libraies/phenx/php-font-lib/src/FontLib/WOFF/Header.php


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/PhenX/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,
  );
}