How to change the font color and size in creating pdf file using php
I'm using this as reference: http://www.ros.co.nz/pdf/
$db_data[] = array('first' => '', 'sec开发者_如何学JAVAond' => 'hello');
I would want to make the text 'hello' color blue with font-size 12. How can I do this?Please Read the Manual:
On page 20, following are defined:
setColor(r,g,b,[force=0])
setStrokeColor(r,g,b,[force=0])
And on Page 29:
setFontFamily(family,options)
精彩评论