/** * Get information associated to a character * @param mixed $ch a character (or glyphname) * @param mixed $key * @return mixed $value */ public function getCharacterInfo($ch, $key) { if ($this->direction != -1) { return $this->font_metrics[$this->direction]->getCharacterInfo($ch, $key); } else { return parent::getCharacterInfo($ch, $key); } }