PHP Code:
$pdf->ezSetY($pos+PDFOC_PRODUCT_TOTALS_LEADING);
$x -= PDFOC_PRICING_COLUMN_SIZES;
$pdf->ezText("<b>" . pdfoc_html_cleanup($order->totals[$i]['title']) . "</b>",PDFOC_TABLE_HEADER_FONT_SIZE,array('justification'=> 'right','aright'=>$x));
$x += PDFOC_PRICING_COLUMN_SIZES;
$pdf->ezSetY($pos+PDFOC_PRODUCT_TOTALS_LEADING);
$pdf->ezText(pdfoc_html_cleanup($order->totals[$i]['text']),PDFOC_TABLE_HEADER_FONT_SIZE,array('justification'=> 'right','aright'=>$x));
// $pdf->addText($x,$pos,PDFOC_PRODUCT_TOTALS_FONT_SIZE,pdfoc_html_cleanup($order->totals[$i]['text']), $order->info['currency_value']);
$pos -=PDFOC_PRODUCT_TOTALS_LEADING;
$nexttotal++;
} // EOFOR $i = $nexttotal
Bookmarks