Moonsoft Software Solutions

Change pdf font size and table

Started 21 Oct 2011 · 1 reply

  1. anonymous
    Hi Moonsoft team
    I can't seem to find out where you change the export pdf matrix. The font size is 16px and I need to make it smaller because it's
    overlapping and I need the width table wider too.

    Thank you
  2. Moonsoft support
    Hi ,

    In order to change font size and table size for pdf you should change
    /components/com_calcbuilder/views/calcbuilder/tmpl/pdf.php.

    Probably you are interested in $this->SetFont(...); lines and
    $w=190/(count($colsNames)+1); in FancyTable function which is used to set
    the width of the table shown. Also you can change page orientation: change
    $pdf=new PDF(); to $pdf=new PDF('L');
    If you want more info, visit http://www.fpdf.org/

    Hope this helps. Regards,

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket