Created attachment 128144 [details]
Formatting regression seen after setting SAL_USE_COMMON_LAYOUT for 188.8.131.52 alpha0. The attach file contains CJK ideograph characters in ext-b, and set alignment to 'justified'. Some characters are overdrawn or extra space inserted between chracters. Note that I didn't install MS PMingLiuB.ttf so it was shown as empty boxes.
Created attachment 128145 [details]
Side by side comparison
It's only seen on Linux. I didn't see this issue in Windows10 and Windows7.
Created attachment 128146 [details]
Comparison showing no difference
I see no difference with or without SAL_USE_COMMON_LAYOUT=1.
Have you installed MS PMingLiu in your system?
For some reason I can't open font application from Linux. But I don't remember that I have installed one, so might it be affected by font fallback?
(In reply to Mark Hung from comment #4)
> Have you installed MS PMingLiu in your system?
> For some reason I can't open font application from Linux. But I don't
> remember that I have installed one, so might it be affected by font fallback?
No, I don’t have MS PMingLiu installed.
(In reply to Khaled Hosny from comment #5)
> (In reply to Mark Hung from comment #4)
> > Khaled,
> > Have you installed MS PMingLiu in your system?
> > For some reason I can't open font application from Linux. But I don't
> > remember that I have installed one, so might it be affected by font fallback?
> No, I don’t have MS PMingLiu installed.
Don’t worry, you can try to get any font which support CJK ext-B block from the following resource if you want to test:
I installed Hanazono fonts, and all the characters are shown correctly now. Still no spacing issue.
Hmm, I can reproduce the spacing issue only if I manually set the font to HanaMinB.
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":
tdf#103401: Fix applying DX array with font fallback
It will be available in 5.3.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.