Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Crystal to properly embed TT fonts in a PDF

Has anyone run into problems getting Crystal XI to embed fonts when displaying reports via the web (served by RAS) and then exporting to PDF? We have a barcode font that we use in a few reports, and it worked fine via the web viewer and when exporting to PDF. When we moved our reporting server from a 2000 box to a 2003 box, the font is no longer exported. It does display properly in the html viewer, but when you export it to PDF to print, the PDF doesn't contain the font. The True Type font is installed on the new server, with scandalously lenient permissions, and the font is installed on all the client machines. Is there no way to start Crystal in some sort of "debug" mode where it will emit info on what it is doing?

(Edited to specify that it is only when exporting to PDF through a page served by RAS that the font is not embedded)

like image 524
Peter Recore Avatar asked Aug 04 '09 17:08

Peter Recore


People also ask

How do you make sure your fonts are embedded in PDF?

Confirm Fonts are Embedded are in your PDF: Open the file using Adobe Reader or Acrobat Pro. Go to File > Properties. Select Fonts and verify that all fonts show (Embedded Subset)

How do I fix a font not embedded in a PDF?

Go to Tools > Print Production > Preflight select the “PDF fixups” option and select “Embed missing fonts” and click the “Analyze and fix” button to embed any unembedded fonts. After clicking Analyze and fix, you will be asked to save your new PDF document.

What fonts can be embedded in a PDF?

TrueType and Type 1 fonts can be embedded in PDF files, including certain Type 1 fonts that contain characters outside the standard ISO Latin 1 character set. Although all Type 1 fonts can be embedded in PDF files, some TrueType font manufacturers place embedding restrictions on their fonts.

Does PDF automatically embed fonts?

If you are using Adobe Acrobat to create your PDF then the latest versions will automatically embed any suitable fonts. In earlier versions you can turn this on or off, so make sure you have this ticked (see the diagram below). Also check that the fonts you are using are listed in the Font Source.


1 Answers

So far I've come across some info that doesn't help me but might help others with similar symptoms:

One issue that can arise is that Crystal won't embed fonts that have DRM on them. See this utility to remove DRM if need be. Microsoft also has a utility to tell you more than you ever wanted to know about your true type fonts, including their "embeddable" status. Sadly, my fonts are already embeddable so this did not help me.

EDIT: FOUND SOLUTION! The solution here worked for me. The relevant part was this:

On the Windows 2003 PC open Control Panel, and double click on Regional and Language Options. Click on the Language Tab and check on Install Fonts for complex scripts.... Now click on the Advanced tab and in Default user account settings check on apply all settings....

like image 51
Peter Recore Avatar answered Oct 02 '22 17:10

Peter Recore