|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
CFDocument vs Underline
Author: Craigsell
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60812#330463
Just a little update on my problem after digging with Adobe.
CF 8.0.0 had all the scaling and such in CFDocument tag messed up. You are
supposed to apply hotfix 3 to correct it. It mostly does that but underlining
still doesn't work right.
CF 8.0.1 also needs hotfix3 applied to correct the scaling. The underline issue
is fixed but they introduced a new bug. The css colors aren't the same anymore.
font-color="blue" in 8.0.1 is not the same blue in CF 8.0.0
CF 9 fixes both these issues, bringing us back to the way the tag worked in CF 7.
Well, at least the scaling, underlining, and colors are fixed. I don't know if
there is anything else wrong.
We haven't applied hotfix4 so I don't know what effect that will have. I doubt
we will since we are pushing to go to CF9.
None of the underline or color issues are mentioned in the release notes.
From Adobe: Tag behavior usually should not change, but bugs that are found and
subsequently fixed means that the original "faulty" behavior has been changed to
"correct" behavior, so there is always a possibility that the behavior might
change between versions and we strongly recommend reviewing the release notes for
the new version you are testing to review any bug fixes and new
functionality/behavior changes included. Another thing Adobe always recommends is
to thoroughly testing your applications when changing version of CF to ensure
everything works correctly and increase the probability of catching unexpected
changes.
Nothing is constant from version to version or hotfix. Mine is a good example of
subtle changes that can make you nuts. Since I know my code works in CF 8.0.0
HotFix3, I'm going to stick with this version and work around the underlining
issue.
Author: Craigsell
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60812#330373
Well, I may have answered my own issue. We have been applying version 8.0.1
hotfixes but my version is 8.0.0. The problem goes away in version 8.0.1.
Somehow no one applied the 8.0.0 to 8.0.1 updater and I didn't catch it.
Sigh.
Warren
Author: Craigsell
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60812#330370
I'm trying to get someothing to underline properly in a CFDocument tag. So far
the tag is winning and refusing to underline to the end of the top line. Does
anyone have a fix for this or am I missing something obvious?
I am running CF8 with Hotfix3 and the CFDocument update.
Thanks!
Warren
<CFDOCUMENT FORMAT="PDF" ORIENTATION="portrait" overwrite="Yes"
fontembed="yes"
MARGINTOP=".51" MARGINBOTTOM=".41" MARGINLEFT="0.3" MARGINRIGHT="0"
scaleToFit="false" scale="0">
<STYLE type="text/css" media="screen">
.FontBlue {white-space: pre; font-family: "Courier New"; font-size: 9pt;
color: blue; font-weight: bold; text-decoration:underline;}
.FontBlack {white-space: pre; font-family: "Courier New"; font-size: 9pt;
color: black; font-weight: bold;}
</STYLE>
<CFOUTPUT>
<span
class=FontBlue>DAYS--ITEM-----------QUAN----VENDORPO----TYPE-ORDER-----------RECEIVED-----REQUESTED----AT-CRIB---<BR><BR></span>
<span
class=FontBlack>-01---xxxx-----------0000----00000000----xxxxxxxxxx-----------01/01/2010---01/01/2010---01/01/2010<BR><BR></span>
<span
class=FontBlack>-01---xxxx-----------0000----00000000----xxxxxxxxxx-----------01/01/2010---01/01/2010---01/01/2010<BR><BR></span>
</CFOUTPUT>
</CFDOCUMENT>
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||