Font_TrueType_Header

TrueType font file header.

Defined (1)

The class is defined in the following location(s).

/lib/dompdf/lib/php-font-lib/classes/Font_TrueType_Header.php  
  1. class Font_TrueType_Header extends Font_Header { 
  2. protected $def = array( 
  3. "format" => self::uint32,  
  4. "numTables" => self::uint16,  
  5. "searchRange" => self::uint16,  
  6. "entrySelector" => self::uint16,  
  7. "rangeShift" => self::uint16,  
  8. ); 
  9.  
  10. public function parse() { 
  11. parent::parse(); 
  12.  
  13. $format = $this->data["format"]; 
  14. $this->data["formatText"] = $this->convertUInt32ToStr($format);