|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
ColdFusion 8 PDF Fonts
Client wants to use the font "Garamond three" in CF8 generated PDF'sRichard Meredith-Hardy 08/28/08 11:15 A tryAzadi Saryev 08/28/08 11:20 A 2 things to look at...Andrew Scott 08/28/08 11:23 A Thanks for all suggestions.Richard Meredith-Hardy 08/28/08 02:06 P Client wants to use the font "Garamond three" in CF8 generated PDF's The font is available in the CF8 administrator Font Family: garamond 3 Font Face: Garamond Three Postscript Name: GaramondThree Font Type: TRUETYPE Usable in: PDF/Flashpaper <CFDOCUMENT format="PDF" fontembed="selective" mimetype="text/html" localUrl="yes" filename="full/path/to/source/file.htm" pageType="A4"> This is in the style sheet .despatchfmB { font-family : garamond 3, serif; font-size : 14px; color : black;} and appears correct in the generated html source used in making the pdf - on the server, so the font is installed and exists Etc. However, it is NOT appearing in the PDF. Analysis in Acrobat Professional says the font is TimesNewRoman so somewhere the font is being substituted for a default serif font while the PDF is being generated. Anyone any ideas how I use my specified font? Thanks Richard try font-family: "Garamond Three", serif Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Richard Meredith-Hardy wrote: ----- Excess quoted text cut - see Original Post for more ----- 2 things to look at... 1) the space might be an issue 'garamond 3' might work. 2)it might be a license issue regarding distribution of the font.. But I have no idea how that works. 3) Is the font installed on the machine, I am not sure if by default the font is embedded into the PDF or not. -- Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 Client wants to use the font "Garamond three" in CF8 generated PDF's The font is available in the CF8 administrator Font Family: garamond 3 Font Face: Garamond Three Postscript Name: GaramondThree Font Type: TRUETYPE Usable in: PDF/Flashpaper <CFDOCUMENT format="PDF" fontembed="selective" mimetype="text/html" localUrl="yes" filename="full/path/to/source/file.htm" pageType="A4"> This is in the style sheet ..despatchfmB { font-family : garamond 3, serif; font-size : 14px; color : black;} and appears correct in the generated html source used in making the pdf - on the server, so the font is installed and exists Etc. However, it is NOT appearing in the PDF. Analysis in Acrobat Professional says the font is TimesNewRoman so somewhere the font is being substituted for a default serif font while the PDF is being generated. Anyone any ideas how I use my specified font? Thanks Richard Thanks for all suggestions. After some fiddling around I found "Garamond 3" did it, but... Not in a linked style sheet. Seems to work OK if the styles are in a <STYLE> block in the <HEAD> though. Regards Richard ----- Excess quoted text cut - see Original Post for more -----
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||