Font_Table_head

`head` font table.

Defined (1)

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

/lib/dompdf/lib/php-font-lib/classes/Font_Table_head.php  
  1. class Font_Table_head extends Font_Table { 
  2. protected $def = array( 
  3. "tableVersion" => self::Fixed,  
  4. "fontRevision" => self::Fixed,  
  5. "checkSumAdjustment" => self::uint32,  
  6. "magicNumber" => self::uint32,  
  7. "flags" => self::uint16,  
  8. "unitsPerEm" => self::uint16,  
  9. "created" => self::longDateTime,  
  10. "modified" => self::longDateTime,  
  11. "xMin" => self::FWord,  
  12. "yMin" => self::FWord,  
  13. "xMax" => self::FWord,  
  14. "yMax" => self::FWord,  
  15. "macStyle" => self::uint16,  
  16. "lowestRecPPEM" => self::uint16,  
  17. "fontDirectionHint" => self::int16,  
  18. "indexToLocFormat" => self::int16,  
  19. "glyphDataFormat" => self::int16,  
  20. ); 
  21.  
  22. protected function _parse() { 
  23. parent::_parse(); 
  24.  
  25. if($this->data["magicNumber"] != 0x5F0F3CF5) { 
  26. throw new Exception("Incorrect magic number (".dechex($this->data["magicNumber"]).")");