Mantis - Resin
Viewing Issue Advanced Details
4617 minor always 06-14-11 15:22 06-23-11 16:38
rickHigh  
ferg  
normal  
closed  
fixed  
none    
none 4.0.20  
0004617: PHP PDF support not positioning correctly.
It would appear that the $pdf->show_xy("Name " . $stat, 0, -10); and $pdf->set_text_pos(0, -10); are meant to be absolute not relative.

Resin's (Quercus really) version of these functions are relative to the current position.

I base this off of reading the API docs for PDF_LIB and the code examples in "PHP and MySQL Web Development" by Luke Welling.

I like the relative API however.

Perhaps we can keep this functions just rename and make the function names keep the same behavior of PDFLIB.

There are no notes attached to this issue.