This content has been marked as final. Show 8 replies
Yes, CF has been restarted numerous times. The font shows up properly in font management in the cfadmin. I can display the font in HTML just not in cfdocument. I have fontembed in the cfdoc tag set to true. It's a ttf.
And all hotfixes have been installed.
On Tue, 24 Feb 2009 18:51:04 +0000 (UTC), mr. modus wrote:
> I am using cfdocument to create a PDF. The code used to run successfully in CF7
> and since the switch to cf8 my font (ShelleyAllegro BT) is showing up as Times
> New Roman.
> What do I do?
I'm not sure what to suggest. I can confirm it's not some weird
incompatibility with CF8's <cfdocument> implementation and the font,
because it renders OK for me.
Can you post some code the demonstrates what you're seeing?
Here's the test code. The text display as times new roman. When I check the properties/fonts tab of the pdf it only shows Times New Roman as being embedded in the document.
Here's the code:
> <span style="font-family:Bickham Script Pro Semibold; font-size:42px;">
That's not the same font you were talking about before. I can't test this
one because one has to pay for this font.
Running your code using ShelleyAllegro BT instead works fine for me though
(on both 7.0.2 and 8.0.1).
No, it's not the same font because I was trying an otf this time instead as my hosting provider said it might be a problem with ttf and suggested I try an otf. I'm getting the same failed result either way. My hosting provider (crystaltech) has assurred me that they have the latest version of cf8 with the latest hotfixes working. I'm not sure what to do.
> I'm not sure what to do.
Me neither I'm afraid. I only started using <cfdocument> for the first
time every on Thurs just passed, so I'm hardly the expert (I'm amidst an
exercise of getting up to speed with all the tags I never use).
Just as an experiment, can you try changing the <cfdocument> format to
FlashPaper, and see if it's the same?