Skip to main content
Inspiring
August 29, 2007
Answered

CF7 cfdocument's display 30% smaller on CF8

  • August 29, 2007
  • 19 replies
  • 3349 views
We have copied existing CF7 cfdocument' page to a new Coldfusion 8 server and when the pages are run the resulting pdf and flashpaper display 30% smaller on CF8.

Both the Fonts and the images and the tables are all scaled down by about 30% in size. We have a lot of these documents so, we not be able to upgrade, its a real show stopper. Its like the effective display area has been scaled fit into about 70% of the page area.

I have searched for a people reporting the same issues but found no one reporting this. Has anyone seen this and is there a fix
This topic has been closed for replies.
Correct answer LeenTech
THIS IS NOW FIXED IN THE ColdFusion 8.0 Cumulative Hot Fix 1

http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402466&sliceId=1

19 replies

LeenTechAuthor
Inspiring
September 5, 2007
So if that is an issue why are the images 30% smaller as well. Adobe has a problem it would good if they admitted it or gave suggestions on how to get round it.
This page displayed fine under 7 but 8.
BKBK
Community Expert
Community Expert
September 5, 2007
LeenTech wrote:
<font size="12" face="Arial, Helvetica, sans-serif"><br>
<font size="2"><strong>Company Name and Address, United Kingdom <br /> Tel: +44 (0)115 5199818 Fax: +44 (0)115 5199818 Email: test@leentech.com
</strong>
</font>
</font>


First, you shouldn't be using the font tag. It is deprecated in HTML 4.01.
Second, I see no need to nest font tags.

Participating Frequently
September 5, 2007
I figured out the font problem. I have CF8 installed on Mac OS X. CF doesn't have arial available to it.
Participating Frequently
September 5, 2007
I am also having this problem. It looks like I will have to move to my new hosting environment using CF7. I am also having trouble with my font selection of arial not working.
LeenTechAuthor
Inspiring
September 3, 2007
I am not Ben the response was from Ben Forta Adobe's Coldfusion Guru, the 2 months is just a guess. Could be the end month we don't know.
September 3, 2007
Thanks Ben. Saddly, two months won't work for me. I'll have to recode the cfdocs :-( If you find out anything as far as realese dates, it would be appreciated.
LeenTechAuthor
Inspiring
September 3, 2007
I was talking to a guy in India and he thinks its a known problem and should be fixed in patch release may be 2 months? I emailed Ben Forta and got this response on 29 Aug, nothing more since:

I'll check with the development team.

--- Ben
September 3, 2007
I'm having the exact same problem. The only way I've been able to get a form to generate in cfdocument at 100% is to actually use tables with a width="100%". This is forcing me to nearly recode my documents as I had set sizes for everything in CF7. Sure would be nice if the "scale" attribute went of 100%, or if there was a "fit-to-page" attribute.

In some instances I am gatherthing the HTML from an external site. I have no option here to rewrite or adjust the code generating the document.

I can not find any solution to this. Adobe? Any plans for some help here?
LeenTechAuthor
Inspiring
August 29, 2007
Code below

<cfdocument format="flashpaper">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Certificate</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 style="text-align:center;">

<table height="1300px" width="800px" border=0 cellpadding=0 cellspacing=0 style="margin:0; padding:0">
<tr>
<td colspan=3>
<img src="images/certificate-banner.jpg" alt=""></td>
</tr>
<tr> <td colspan=3 valign="top" align="center"><font size="12" face="Arial, Helvetica, sans-serif"><br>
<font size="2"><strong>Company Name and Address, United Kingdom <br /> Tel: +44 (0)115 5199818 Fax: +44 (0)115 5199818 Email: test@leentech.com


</strong></font></font></td>
</tr>
<tr>
<td colspan=3 valign="top" align="center"><p> </p>
<p><font color="<cfoutput>#request.settings.CompanyColour#</cfoutput>" size="5" face="Georgia, Times New Roman, Times, serif"><strong>Commissioning Certificate</strong></font></p></td>
</tr>
<tr><td> </td></tr>
<tr>
<td>
<img src="images/2_04.jpg" width=185 height=1 alt=""></td>
<td rowspan=2>
<img src="images/certificate-photo.jpg" width=444 height=303 alt=""></td>
<td>
<img src="images/2_06.jpg" width=171 height=1 alt=""></td>
</tr>

ETC