afaik, it is a known bug, but it manifests itself only with some font/fontsize combinations. try using a different (probably larger) font size.
--- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com Justin Brown wrote: > Didn't work. Replaced "test test test test <em>test</em> test test > test.<br>" in my example with "test test test test <span > style="font-style:italic;">test</span> test test test.<br>" and am still > getting a spacing issue. > > > >> Don't use EM, try using css: font-style: italic; >> >> Chris >> >> 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:294667 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

