House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

ColdFusion 8 PDF Fonts

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
try
Azadi 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
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Meredith-Hardy
08/28/2008 11:15 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Azadi Saryev
08/28/2008 11:20 AM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
08/28/2008 11:23 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Meredith-Hardy
08/28/2008 02:06 PM

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 -----


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists