5

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)

2
  • Does the font work correctly in applications on the new server? Can you use it in an app like Word or Excel?
    – Dusty
    Aug 4 '09 at 18:54
  • yup. i can even use it fine in Crystal itself, on the new server. If I export a pdf from the crystal GUI, the barcode font shows up fine. It's only when RAS is doing the serving/generating that the font stops being included. Aug 4 '09 at 19:29
5

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

3
  • Thank you for the link to the Microsoft site! Very useful in finding out why exporting to PDF (through Crystal API) keeps giving me "Font is not allowed to be embedded in document."
    – Jedidja
    Jan 27 '10 at 16:24
  • 2
    We've got the same problem but for Windows Server 2008 we do not have the option for 'Install Fonts for Complex Scripts'. Does anyone know where we can find the same setting for 2008? Jul 29 '10 at 15:46
  • @JoshWeatherly I have same issue with Windows 2008/Windows 7 did you find the solution. Jan 30 '12 at 17:40
5

For the folks stuck with this problem on Windows 2008, I got barcodes working after I did the following:

  • Install the Crystal Runtime.

  • Open the fonts folder and select "Font Settings." Make sure the "Hide fonts based on language settings" option is not checked.

  • Make sure you have a 3 of 9 barcode font installed on the server and its "Font Embeddability" is "Installable". Also make sure the file is not blocked.

  • Set your "Load User Profile" setting under the App Pool Advanced Settings to True.

After after doing the above and rebooting, my barcodes started to work.

4

On our Windows Server 2012 R2 - only a reboot required after installing our (DRM-appropriate) font. That is with runtime 13_0_15.

Why you still have to reboot after installing a font is a question for the ages.

2

Windows Server 2008 supposedly already has fonts for complex scripts enabled according to the article here.

The option "Advanced tab and in Default user account settings check on apply all settings" setting is similar in Server 2008 but you can select Default User And and / or System accounts.

This solution worked on Server 2003 and we are testing it on Server 2008. Note that on Server 2003 we had to perform a complete system restart in order for the changes to take affect.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.