Possible Bug: ColdFusion 2023 cfhtmltopdfitem Footer Page Number Problem with Formatting
ColdFusion v. 2023,0,0,330468
The following code works fine unless I try adding bold formatting to the footer. Then it will show "Page 2 of 1" instead of "Page 1 of 1". Does anyone know if this is a bug or if there are limitations on the formatting in the footer? Is there a workaround to get it bold? I've tried using both a CSS class and inline CSS within a <span> tag, as well as using the <b></b> tag, to turn the footer bold, but each option throws the page numbering off in the resultant PDF file.
<cfhtmltopdfitem type="footer" align="center" showonprint="yes" evalAtPrint="true" numberformat="numeric">
<b>Page <cfoutput>#cfhtmltopdf.currentPageNumber# of #cfhtmltopdf.totalPageCount#</cfoutput></b>
</cfhtmltopdfitem>
