SAP Knowledge Base Article - Public

2085253 - Fonts printed as graphics on Server 2012 to PDF print driver and the file size is huge.

Symptom

SAP Crystal Reports, Developer Version for Visual Studio .NET does not retain Arial Bold fonts under Windows Server 2012 Standard or Windows 8 when printing from CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter.

The fonts are properly retained under Windows 7 and Windows 8.1.

 

Environment

Crystal Reports, Developer for Visual Studio

Windows Server 2012

Windows 8.0

Reproducing the Issue

Note: These steps use XPS since an XPS print driver is included with both Windows 7 and Windows Server 2012 Standard. However, this issue can also be duplicated using any PDF print driver.

Using Windows Server 2012 Standard:

  1. Create a Report and set the text object font to Arial and the Style to Bold.
  2. In a VS test app simply open the above report and preview, or print directly to XPS or PDF print driver.
  3. Choose Microsoft XPS Document Writer as the printer
  4. Click Print button
  5. Printing from Windows Server 2012.  Note: File size is about 1.7MB, size will vary depending on the report
  6. Follow steps 1-5 using Windows 7
  7. Printing from Windows 7. Note: File size is about 290K, size will vary depending on the report
  8. Open pdf printout from 2012 and select the text. Notice that "Comments:" cannot be selected. This is because the Arial Bold font used for this text has been converted into graphics rather than preserved as fonted text.
  9. Open pdf printout from Windows 7 and select the text. Notice that "Comments:" can be selected. This is because the Arial Bold font used for this text has been properly preserved as fonted text.

Resolution

R&D is aware of this issue and will be working with Microsoft to resolve the problem.

It has been noted that compiling your application in AnyCPU mode is not a problem. Only time it is a problem is when setting your project to compile in x86 mode.

Keywords

PDF, Print mode, image, file size, cr for vs , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio