I'm trying to create a pdf document via cfdocument and need to control the font 
size of the document.  There are also words in the document that I need to 
italic.  But I'm getting some weird formatting issues.  Code sample below.  
When it generates the PDF it is putting a large amount of space around the word 
that in italic.

<cfdocument format="pdf" name="invite">
        <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title></title>
        </head>
        <body>
        <div style="font-size:14px;">
        test test test test <em>test</em> test test test.<br>
        </div>
        </body>
        </html>
</cfdocument>

<cfcontent type="application/pdf" reset="true" variable="#toBinary(invite)#">

Any help would be appreciated. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294623
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