We've been able to get very exact results - but we use a separate print handler and CSS styles. If you think about it it makes some sense. CSS uses browser defaults for many things - and even adjusts it's own values accordingly. For example, if you choose 100% for a size it's 100% of the "browsers" default - not 100% of a published standard. Since cfdocument isn't rendering in a browser - how do you suppose it should render values like that? What does it use when you set values to "auto" or how about when you fail to specify? It has no browser to go off of. So you have to be more specific. In several cases you may have to use pixel values or pt sizes (for fonts).
Mark A. Kruger, CFG, MCSE www.cfwebtools.com www.necfug.com http://mkruger.cfwebtools.com -----Original Message----- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 2:08 PM To: CF-Talk Subject: Tuning CFDOCUMENT PDF output quality? I'm using cfdocument to generate a PDF for the first time, and to be honest, I'm pretty disappointed with the quality of the results. I have a page that looks EXACTLY as it should in IE & FireFox, yet using the same code along with cfdocument to generate a PDF, the generated results are similar but not close. Fonts are jaggy and blotchy, alignment is off, fonts are both larger and heavier than they should be...the results are just plain unsatisfactory. Examples of both output are here: Using Adobe Acrobat 6.0 Distiller - http://www.ruckelshaus.com/pete/cf/acrobat_example.pdf Using CFDOCUMENT - http://www.ruckelshaus.com/pete/cf/cfdocument_example.pdf I have done the usual things -- made sure I linked to my CSS file from within each cfdocumentitem, checked to make sure the proper font as installed in CF (Arial, it was), changed the marginbottom attribute to make sure there was room for the footer, etc., but I'm just not satisfied. Are there any other tricks or tips for improving the quality of the output? Does cfdocument not handle linked CSS files properly? Failing that, can anyone comment on the quality of output for commercially available products like ActivePDF? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206462 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

