• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Cfdocument and fonts.

Community Beginner ,
Feb 05, 2009 Feb 05, 2009

Copy link to clipboard

Copied

I am trying to get ColdFusion to use our Frutiger Roman fonts which are in a PFM format.

The windows 2003 server sees them fine and the fonts work in all windows software on the server but they do not show up when publishing a PDF from cfdocument. Any ideas anyone?

I tried adding them to the cffont.properties document but got the error message...

The cause of this exception was that: coldfusion.document.spi.DocumentExportException: coldfusion.document.DocumentFontException: An exception occurred when reading the font file c:\windows\fonts\FrutiR94.pfm The cause of this exception was that: java.awt.FontFormatException: Unsupported sfnt C:\WINDOWS\TEMP\xxx.tmp
TOPICS
Advanced techniques

Views

3.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 05, 2009 Feb 05, 2009

Copy link to clipboard

Copied

Amplicon wrote:
> I am trying to get ColdFusion to use our Frutiger Roman fonts which are in a
> PFM format.

did you register the fonts w/the server (if they're not in the OS usual location
such as c:\windows\fonts) via cfadmin? did you embed the fonts in the doc?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 05, 2009 Feb 05, 2009

Copy link to clipboard

Copied

Yes they are registered with the server, if by that you mean they are in the c:\windows\fonts folder, not stored anywhere else.

And yes I have emebeded the fonts in the doc.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 05, 2009 Feb 05, 2009

Copy link to clipboard

Copied

Amplicon wrote:
> Yes they are registered with the server, if by that you mean they are in the c:\windows\fonts folder, not stored anywhere else.

do they show up in the cfadmin fonts page?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 05, 2009 Feb 05, 2009

Copy link to clipboard

Copied

never mind that last post, i just re-read the error message. it's finding the
font ok but something else is happening...let me dig around.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 05, 2009 Feb 05, 2009

Copy link to clipboard

Copied

Amplicon wrote:
> I am trying to get ColdFusion to use our Frutiger Roman fonts which are in a
> PFM format.

uh, what's PFB format? poking around a bit i can see only:
- TTF - TrueType font
- TTC - Collection of TrueType or OpenType fonts
- OTF - OpenType font
- PFB (Adobe printer fonts)
- AFM Adobe Font Metrics

as support font formats on cf8.

i guess i should also ask what output format you using? some fonts (looks like
the built-in adobe ones) won't work in flashpaper

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 06, 2009 Feb 06, 2009

Copy link to clipboard

Copied

The fonts are PostScript fonts (Type 1 Font file). I'm guessing I need to get the TTF version or convert the fonts into one of the supported formats.

You would have thought as the fonts are a proprietary specification of Adobe that ColdFusion would support them, then again if we have to buy the fonts again, well that's more money for Adobe...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 06, 2009 Feb 06, 2009

Copy link to clipboard

Copied

Double post..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 06, 2009 Feb 06, 2009

Copy link to clipboard

Copied

Amplicon wrote:
> You would have thought as the fonts are a proprietary specification of Adobe
> that ColdFusion would support them, then again if we have to buy the fonts
> again, well that's more money for Adobe...

cfdoc is mainly driven by iText nothing to do w/selling more fonts.

as far as supporting more font formats:

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=12&6213=6

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 10, 2009 Feb 10, 2009

Copy link to clipboard

Copied

Would like to chime in that I have the same problem as the OP with CF 8.1 Enterprise. I purchased Adobe's very own Type 1 Helvetica Condensed Bold font, but this blew up CF when attempting to render the PDF referencing the font.
So instead I purchased the Linotype version of the font in TrueType and it works fine.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 01, 2009 Apr 01, 2009

Copy link to clipboard

Copied

We have a similar issue with barcode generation; using a free "3 of 9" font and it works on local environment. However, when we deploy to Test server that is running Linux, it does not render the barcode.
The fonts are registered in the CFAdmin control panel.
Any thoughts?

NK

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 02, 2009 Apr 02, 2009

Copy link to clipboard

Copied

LATEST
In the end we had to buy the TrueType font version and it worked ok. Seems like Adobe, the software house with the largest amount of print products, can't seem to bother to add more font support to ColdFusion.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation