Skip to Content
0
Jun 09 at 10:10 AM

Font size still decreasing in export to PDF after applying fixes from KB 1220516

50 Views Last edit Jun 09 at 01:22 PM 5 rev

Hello,

I am using a copy of Crystal Reports 2016 Support Pack 8 Patch 7 (14.2.8.3708) to create report templates, then using Crystal Reports runtime 13.0.29.3671 to generate PDF outputs. I’m noticing that as defined in KB1220516 – ‘Font size decreases when exporting a report to PDF format from Crystal Reports or SAP BI LaunchPad’ the exported text is about 10% smaller than when it was built and rendered in Crystal Reports.

I applied the suggested registry key changes from the KB Article to the machine where I am running the runtime, and it worked. However, I have a second machine where the same solution is not working. They appear to be practically identical with the below software configs:

╔═══════════════════════════════════════════════════════════════╤═══════════════════╤══════════════════╗
║                                                               │ Version Installed │                  ║
╠═══════════════════════════════════════════════════════════════╪═══════════════════╪══════════════════╣
║ Program                                                       │ Bad Machine       │ Good machine     ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Microsoft ODBC Driver 11 for SQL Server                       │ 12.3.6164.21      │ 12.3.6118.4      ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Microsoft SQL Server 2014 Setup (English)                     │ 12.3.6164.21      │ 12.3.6118.4      ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Microsoft SQL Server 2014 Transact-SQL Compiler Service       │ 12.3.6164.21      │ 12.3.6118.4      ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Microsoft SQL Server 2014 Transact-SQL ScriptDom              │ 12.3.6164.21      │ 12.3.6118.4      ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Microsoft System CLR Types for SQL Server 2014 (x64)          │ 12.3.6164.21      │ 12.3.6118.4      ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Microsoft Visual C++ 2017 Redistributable (x64) - 14.12.25810 │ Not Installed     │ 14.12.25810.0    ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Microsoft Visual C++ 2017 Redistributable (x86) - 14.12.25810 │ Not Installed     │ 14.12.25810.0    ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ VMware Tools                                                  │ 10.1.15.6677369   │ 10.3.10.12406962 ║
╟───────────────────────────────────────────────────────────────┼───────────────────┼──────────────────╢
║ Crystal Reports Runtime Engine for .NET Framework (64-bit)    │ 13.0.29.3671      │ 13.0.29.3671     ║
╚═══════════════════════════════════════════════════════════════╧═══════════════════╧══════════════════╝

Bad Machine has the following registry key entries:

HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Export\PDF\ForceLargerFonts = 1 (DWORD)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Export\PDF\ForceLargerFonts = 1 (DWORD)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Export\PDF\ForceLargerFonts = 1 (DWORD)

Good Machine has the following registry key entries:

HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Export\PDF\ForceLargerFonts = 1 (DWORD)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Export\PDF\ForceLargerFonts = 1 (DWORD)

Both machines have been rebooted since the last set of changes and the problem on Bad Machine persists. Can someone please help me understand why there is still a 10% discrepancy in font size between the good machine and the bad machine?