reporthtml for web page viewing
Brought to you by:
canajun2eh,
yalnifj
The current reporthtml.php (PGV 4.1.3), the reports are printed with exact positioning of DIVs, etc. This is OK if the calculation of text widths and word wrap instances would be correct. However, when I create a new report and set the font to Verdana, many lines are first wrapped within the DIV, and then after a few words wrapped again because of the report's text width calculations.
A reporthtml with 'clear' DIV formatting (ie. no text wrapping and fixed positioning of DIVs) would be much appreciated.
Thanks!
Logged In: YES
user_id=300048
Originator: NO
The HTML report generation is meant to try and match exactly the generation that happens with the PDF reports. The absolute positioning and the fixed widths are required for compatibility between the two types of reports.
In order for fonts to be calculated correctly, you have to generate the font dimensions. Instructions for doing this can be found here: http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf_fonts
--John