/** * Get all the font information */ public function getAllFontCharacteristics() { if ($this->direction != -1) { return $this->font_metrics[$this->direction]->getAllFontCharacteristics(); } else { return parent::getAllFontCharacteristics(); } }