如何在数组Zend PHP PDF函数中设置文本的字体样式

时间:2015-11-30 07:46:29

标签: php pdf zend-framework fonts

这是我的数组,其中包含其他规格的文字。

$name = $item->getName();
        $line[] = array(
            'text' => Mage::helper('core/string')->str_split(strip_tags($name), $maxChar, true, true),
            'feed' => 190,
            'font_size' => 9,
            'font' => 'bold',
            'height' => $lineHeight
        );

我想为它指定一种字体样式,比如说HELVETICA。怎么办呢。

0 个答案:

没有答案