2453388 - Comparing with MS Ming font, MS P Ming font will miss the character position when font cannot recognize the character under Crystal Report for Visual Studio

SAP Knowledge Base Article - Public

2453388 - Comparing with MS Ming font, MS P Ming font will miss the character position when font cannot recognize the character under Crystal Report for Visual Studio

Symptom

Comparing with MS Ming font, MS P Ming font will miss the character position when font cannot recognize the character under Crystal Report for Visual Studio.

Environment

Crystal Reports for Visual Studio

Reproducing the Issue

Please download the sample project from attachments and deploy it into your visual studio environment.

 

Cause

This is a by design behavior for Crystal Reports for Visual Studio(.NET GDI+).

Resolution

This issue is caused by the difference between fixed font and proportional font.
Take the content of “住所2” as example
When drawing in .net GDI+, only four characters can be recognized and drawn.
1. When drawing with MS Mincho font, this font is a fixed font, meaning each character takes up the same amount of space, so even the unrecognized characters cannot be drawn, the space for them are kept.
2. When drawing with MS PMincho font, this font is a proportional font, meaning each character takes up only as much width as it needs, as the unrecognized characters cannot be drawn, their space will not be kept.

Keywords

.net ,font, 明朝, Japanese, sqaure frame , KBA , BI-RA-CR-SDK , SDK related, including Java/.NET etc. , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio

Attachments

CrystalReportsApplication.zip