I've had a lot of problems with CFDocument items scaling. It is much
worse when I've used any kind of measurement in my CSS other than
percentage (this refers to dimensions, not font-size). For header or
footer documentitems, make sure the height of the margin area of the
cfdocument is large enough to hold the header/footer so that the
documentitems don't scale.

Good luck!

Cheers,
Kris

> I am using this to create a PDF file from a text file.  It is creating
>  very small fonts.
>
>  <cfdocument format="pdf" orientation="landscape" pagetype="letter">
>    <cfoutput><pre>#report#<pre></cfoutput>
>  </cfdocument>
>
>  I've tried adding a style section to the <cfdocument...> block.  But it
>  has only had partial and random effects.
>  <style>
>     pre {
>         font-family: "Courier New", Courier, monospace;
>         font-size: 16px;
>     }
>  </style>
>
>  Is this the correct approach.  I just want the report to horizontally
>  fill the page, just like it would if printed straight from the text file.
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303000
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to