Issue 125908 - Incorrect glyph orientation on vertical layout mode on Mac
Summary: Incorrect glyph orientation on vertical layout mode on Mac
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: 4.2.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-27 05:16 UTC by aronsoyol
Modified: 2014-11-27 14:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The odt file for test this bug,containing Mongolian, Chinese, Japanese and English text (11.95 KB, application/vnd.oasis.opendocument.text)
2014-11-27 05:16 UTC, aronsoyol
no flags Details
screen shot - mac (130.17 KB, image/png)
2014-11-27 05:17 UTC, aronsoyol
no flags Details
screen shot - windows (96.36 KB, image/png)
2014-11-27 05:17 UTC, aronsoyol
no flags Details
Illustration for explain this bug (106.12 KB, image/png)
2014-11-27 05:18 UTC, aronsoyol
no flags Details
Free Mongolian font (315.54 KB, application/octet-stream)
2014-11-27 05:26 UTC, aronsoyol
no flags Details
Illustration for explain this bug (97.65 KB, image/png)
2014-11-27 05:38 UTC, aronsoyol
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description aronsoyol 2014-11-27 05:16:04 UTC
Created attachment 84259 [details]
The odt file for test this bug,containing Mongolian, Chinese, Japanese and English text

Some glyph orientation are incorrect on Mac on vertical text direction mode. I create an illustration to explain it.
Comment 1 aronsoyol 2014-11-27 05:17:24 UTC
Created attachment 84260 [details]
screen shot - mac
Comment 2 aronsoyol 2014-11-27 05:17:57 UTC
Created attachment 84261 [details]
screen shot - windows
Comment 3 aronsoyol 2014-11-27 05:18:53 UTC
Created attachment 84262 [details]
Illustration for explain this bug
Comment 4 aronsoyol 2014-11-27 05:26:32 UTC
Created attachment 84263 [details]
Free Mongolian font
Comment 5 aronsoyol 2014-11-27 05:38:56 UTC
Created attachment 84264 [details]
Illustration for explain this bug
Comment 6 hdu@apache.org 2014-11-27 14:37:54 UTC
It looks like OSX's CoreText does funny things when vertical mode is requested for fonts that don't understand the concept of vertical mode. I suggest to experiment with the pCFVertBool variable in main/vcl/aqua/source/gdi/ctfonts.cxx or by disabling the line setting the value for KCTVerticalFormsAttributeName altogether. If it shows that only fonts without OpenType's "vert" or "vrt2" feature are affected then we could add a check for this and then work around the CoreText problem.