Skip to main content
Known Participant
October 16, 2007
Question

CF8 cfdocuments new bugs (font size, bold, underline...)

  • October 16, 2007
  • 10 replies
  • 1734 views
Hi

I face the following problems after upgrading from CF 7.0.2 to CF8 + Cumulative Hotfix 1 :
- bold and underline generates white space around them if they are embedded in a sentence (i.e "this is <bold>bold text </bod> and it is fun")
- font size behavior has changed, the text is now bigger. (My font-size: 12px is bigger than before)
- when reducing it (i.e font-size: 11px) the bold/underline problem becomes the opposite : instead of white space, I have overlapping texts.

We use a html 4.01 transitional doctype and CSS styles (i.e div class="myclass" and .myclass{..} in a separate css file)

Any suggestion ?
This topic has been closed for replies.

10 replies

Inspiring
March 4, 2008
yes, i am afraid the same here:
i ran your code in a series of tests and in most cases the output is the
same as yours - extra spaces, lost spaces, underlined spaces - total
mess... i have tried different page sizes, font sizes, margins, etc etc
etc...

let's see if 8.01 fixes it...


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
James Moberg
Inspiring
October 27, 2016

I experience these same bold/space rendering bugs using CFDocument with CF9,0,1,274733.  (I'll probably switch this to use  WKHTMLTOPDF to avoid it.)

This issue was reported as a bug, never resolved and closed:

Bug#3964534 - CFDOCUMENT generates PDF with repeating phrases, text past the margins

Known Participant
March 4, 2008
hf702-70403 ???

I don't have this patch, only "hf800-70403.jar" which is already the new one.

Just to test I reinstalled it... still no changes ;-(

The code is the same as in my post "10/30/2007 01:38:30 PM" (utc+1) (the third message of this thread)
Known Participant
March 4, 2008
I removed all the "cf_root/lib/updates" .jar files but "chf8000003.jar" and "hf800-70403.jar", restarted CF... still no changes.
March 4, 2008
Remove hf702-70403 also. Get the new one that released last week, as indicated in this thread.

If that does not resolve it, we will need to see an example of your code that has the issue.
Inspiring
March 4, 2008
iirc, you should not really have previous hotfix files there - you are
supposed to remove them with each next hotfix. the cf8 hotfixes page on
adobe.com has the proper instructions.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Known Participant
March 4, 2008
Here are all the cf_root\lib\updates files I have :
chf8000001.jar
chf8000002.jar
chf8000003.jar
empty.txt
hf800-70332.jar
hf800-70403.jar
Known Participant
March 3, 2008
Thanks, I didn't knew that there was another cfdocument hotfix.

I reinstalled it... but still no changes !
(exactly the same result as in my first screenshot)

More infos :
Server Product ColdFusion
Version 8,0,0,176276
Edition Enterprise
JVM Details
Java Version 1.6.0_01
Inspiring
March 3, 2008
the cf8 cfdocument cumulative hotfix has been updated on Jan 30 2008 -
have you re-installed it?
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402584&sliceId=1

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Known Participant
March 3, 2008
I tried the latest hotfix (ColdFusion 8 Cumulative Hot Fix 3) from
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403070&sliceId=1

but still no changes. Is there anything else I can test ?

I use CF8 enterprise on Windows 2000 or 2003
Known Participant
February 29, 2008
Still no news, no fix in the latest hotfixes... !

am I the only one to face this problem ?
March 3, 2008
I ran your example under beta 8.01 and it is much better.

There are also new cumulative cfdoc hot fixes released for cfmx702 and cf8. You should try the appropriate version.
March 3, 2008
I too am having a problem creating a PDF with the cfdocument tag when there are <b> tags around text. What is does is bold the text, but takes any spaces before the text and places it after the bolded text. I have tried using, <strong> and using CSS, but it all does the same thing.
Adobe Employee
October 30, 2007
Could you post a sample code which I can use to replicate.
Known Participant
October 30, 2007
Here it is

and a screenshot of what it looks like on my computer (acrobat 8.0) :
http://img520.imageshack.us/img520/5290/cfdocumentbugei0.gif