Re: CFDocument Header Not Responding to Font-Size
I don't know if my problem is the same as the one in this thread but I figure I'd share it if someone finds it useful. After we upgraded from 7 to 8 we discovered the user-provided fonts we registered in CF didn't work properly. The cfdocument text in our generated PDFs reverted to Times and the sizes were all the same. We took that custom font and put it into our Windows system fonts folder and restarted CF; it started to behave again as intended. - Joe ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326811 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument Header Not Responding to Font-Size
I know this was months ago, but I've just had the same problem and the correct answer was google hit number 41... in CF8 (but not CF7) the header and footer are forced within margintop and marginbottom. so no matter how big you make your text and images, if you leave the default margins they'll be tiny. try: cfdocument format=PDF pagetype=A4 margintop=5 marginbottom=2.5 unit=cm Hey Everyone - Just wondering if other people can duplicate this: If I put this in my CFDocument: div style=font-family:Arial,sans-serif;font-weight:bold;font-size:36px;I am in the Body/div The text fonts, weights, and sizes correctly. If I put this in my CFDocumentitem type=header (inside my CFDocument): div style=font-family:Arial,sans-serif;font-weight:bold;font-size:36px;I am in the Header/div The text fonts and weights, but does not size (size is default size). If this can be duplicated, is this a bug, is this something I can work around (and if yes, what would be the process to work around this problem?). Thanks - Stephen ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311301 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFDocument Header Not Responding to Font-Size
Hey Everyone - Just wondering if other people can duplicate this: If I put this in my CFDocument: div style=font-family:Arial,sans-serif;font-weight:bold;font-size:36px;I am in the Body/div The text fonts, weights, and sizes correctly. If I put this in my CFDocumentitem type=header (inside my CFDocument): div style=font-family:Arial,sans-serif;font-weight:bold;font-size:36px;I am in the Header/div The text fonts and weights, but does not size (size is default size). If this can be duplicated, is this a bug, is this something I can work around (and if yes, what would be the process to work around this problem?). Thanks - Stephen ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305060 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument Header Not Responding to Font-Size
Stephen, I've run into something similar before and solved the problem by putting the CSS in the body. Example: cfdocument type=pdf cfdocumentitem type=headerdiv id=headerh1I am in the header/ h1/h1/cfdocumentitem style type=text/css div#header h1{font-size:36px; font-family: Arial,Helvetica,sans-serif;} /style div id=content I am in the Body /div /cfdocument HTH, Jon On May 11, 2008, at 3:52 AM, Stephen Cassady wrote: Hey Everyone - Just wondering if other people can duplicate this: If I put this in my CFDocument: div style=font-family:Arial,sans-serif;font-weight:bold;font-size: 36px;I am in the Body/div The text fonts, weights, and sizes correctly. If I put this in my CFDocumentitem type=header (inside my CFDocument): div style=font-family:Arial,sans-serif;font-weight:bold;font-size: 36px;I am in the Header/div The text fonts and weights, but does not size (size is default size). If this can be duplicated, is this a bug, is this something I can work around (and if yes, what would be the process to work around this problem?). Thanks - Stephen ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305064 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4