| Monday 13 November 2006 12:32:45 pm 
                                                                
                                                                 Hi 
How can I change the font size and family in a <b>table</b>, produces via the template pdf function (http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_pdf_functions/table ) ?
 
If I use <b>set_font</b> ( http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_pdf_functions/set_font) then it will set the font settings for normal text in the pdf produced by <b>pdf { 'text'...</b> ( http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_pdf_functions/text ).
 But how can I change the font, if I created a table:
 {set-block variable=$tblDesc}
  <tr>
  	<td></td>
	<td>{attribute_pdf_gui attribute=$node.object.data_map.description}</td>
  </tr>
{/set-block}
 
{pdf(table, $tblDesc, hash('width',200,
		'showLines',0,
		'rowGap',2,
		'textCMYK',array(0.5,0.4,0.4,0),
 		'colGap',0,
		'cellPadding',0,
		'repeatTableHeader',1) )}		
The changes in <b>set_font</b> are ignored. I also tried to you use <b>pdf { 'text'...</b> instead of "{attribute_pdf_gui ..." without any affect. Is this a dummy PDF newbie question? 
thanksfabian
 |