Chinese Characters Wrap Outside Right Margin When Using Simsun Font
(Doc ID 2153112.1)
Last updated on APRIL 24, 2023
Applies to:
Oracle Reports Developer - Version 11.1.2.2.0 and laterOracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.
Symptoms
Running a report with some Chinese characters included will wrap lines incorrectly. That is, some of the lines are overflowing outside the field boundary on right side.
For Example:
Already attempted the following, but the problem persists:
- Set Left, Center, Right and Flush justified, and all behave the same way. There are some records that overflow out of the box with all justifications.
- Field elasticity set to Vertical=Expand or Variable, and Horizontal=Fixed.
- Set REPORTS_SPACE_BREAK=NO in registry does not fix it.
- Creating a dummy printer allows it to be much better; however, it still has some overflow.
- Using MingLiU font works, but this is not a feasible workaround for client.
- Same overflow behavior with both Simsun and Arial Unicode fonts.
- Enable PDF subsetting:
[ PDF:Subset ]
SimSun="simsun.ttc,0"
"Arial Unicode MS" = "ARIALUNI.TTF"
- Set REPORTS_DEFAULT_PIXEL_SIZE, but the issue still persist. Sample settings in registry:
REPORTS_DEFAULT_DISPLAY=YES
REPORTS_DEFAULT_PIXEL_SIZE=200
Other values attempted with no difference:
REPORTS_DEFAULT_PIXEL_SIZE=100
REPORTS_DEFAULT_PIXEL_SIZE=75
REPORTS_DEFAULT_PIXEL_SIZE=72
On Unix, when set "*DefaultResolution: 305dpi" in screenprinter.ppd, the output appears to be fine. Sample entry in screenprinter.ppd file:
*DefaultResolution: 305
However, this does not apply to Windows.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |