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