Don't use EM, try using css:  font-style: italic;

Chris

-----Original Message-----
From: Justin Brown [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 12, 2007 12:48 PM
To: CF-Talk
Subject: cfdocument PDF creation - formatting issues

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:294629
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to