/** * Get the bounding box * $returns array $bbox of numeric. The bounding box in llx lly urx ury order */ public function getBoundingBox() { if ($this->direction != -1) { return $this->font_metrics[$direction]->getBoundingBox(); } else { return parent::getBoundingBox(); } }