From: mike dot mcsherry at ociofc dot usda dot gov Operating system: window 2000 PHP version: 4.3.4 PHP Bug Type: PDF related Bug description: Output file size using pdf lib
Description: ------------ Hi I'm converting an Oracle Forms/Reports application to the web using PHP. I'm using the pdf lib to generate the reports and using the pdf_show_boxed routine for all output. The reports are all text, no pics of any kind. The problem is that the output from even a one page report is huge, 380k compared to the identical Oracle report output which is around 6k. I know you can't tell a lot without the specifics but.. My code is tight and doesn't seem to be calling the routine any more than necessary, the output looks fine, the generation response time is fine... but the file size is huge for a small report. Got any ideas on how I can reduce this? Does the pdf_show_boxed routine generate a lot more output than other output routines I could use? Any advice would be appreciated. Other than this I'm very impressed with the functionality of this stuff! Thanks, Mike -- Edit bug report at http://bugs.php.net/?id=27379&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27379&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27379&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27379&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27379&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27379&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27379&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27379&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27379&r=support Expected behavior: http://bugs.php.net/fix.php?id=27379&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27379&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27379&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27379&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27379&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27379&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27379&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27379&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27379&r=float
