/** * Set the bounding box * $param array $bbox of numeric. The bounding box in llx lly urx ury order */ public function setBoundingBox($bbox) { if ($this->direction == -1) { foreach ($this->directions as $direction) { $this->font_metrics[$direction]->setBoundingBox($bbox); } parent::setBoundingBox($bbox); } else { $this->font_metrics[$this->direction]->setBoundingBox($bbox); } }