protected function _setFontBold($object, $size = 7) { if (!$this->getUseFont()) { return parent::_setFontBold($object, $size); } $font = Zend_Pdf_Font::fontWithName(constant('Zend_Pdf_Font::FONT_' . $this->getUseFont() . '_BOLD')); $object->setFont($font, $size); return $font; }