diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-10-20 23:04:02 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-10-20 23:23:50 +0200 |
commit | 95c787160448d37e82efe8b7ee2f63bc4eea8541 (patch) | |
tree | 9ae17e006c69a77f0e35860bbebcc6fa4eb5148e | |
parent | d7d07ade28009d89daa44431d491081a92a04a4e (diff) |
Vertical Mongolian and Phags-pa seem to work fine
The fonts are designed so that they are rotating 90° is all needed, so
we don’t to rotate them back, unlike CJK.
Change-Id: I0afa4b066257718a5a52eb2e93a18ce839aec2f0
-rw-r--r-- | vcl/source/gdi/CommonSalLayout.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index cdb9b1924b0c..f4fc63fed68c 100644 --- a/vcl/source/gdi/CommonSalLayout.cxx +++ b/vcl/source/gdi/CommonSalLayout.cxx @@ -374,11 +374,6 @@ static int GetVerticalFlagsForScript(UScriptCode aScript) nFlag = GF_ROTL; break; #if 0 - /* ttb 90° */ - case USCRIPT_MONGOLIAN: - case USCRIPT_PHAGS_PA: - nFlag = ??; - break; /* ttb -90° */ case USCRIPT_ORKHON: nFlag = ??; @@ -388,6 +383,10 @@ static int GetVerticalFlagsForScript(UScriptCode aScript) nFlag = ??; break; #endif + /* ttb 90°, no extra rotation needed */ + case USCRIPT_MONGOLIAN: + case USCRIPT_PHAGS_PA: + /* horizontal scripts */ default: break; } |