vcl/source/gdi/CommonSalLayout.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
New commits: commit 66c1ae50e43f9a738f089356e8225022f776f90b Author: Khaled Hosny <[email protected]> Date: Thu Oct 20 23:22:56 2016 +0200 Typo in commented-out code Change-Id: I9f276a6de54dd3542249b47986d2ca6b3f27413d diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index f4fc63f..cd2e91b 100644 --- a/vcl/source/gdi/CommonSalLayout.cxx +++ b/vcl/source/gdi/CommonSalLayout.cxx @@ -379,7 +379,7 @@ static int GetVerticalFlagsForScript(UScriptCode aScript) nFlag = ??; break; /* btt -90° */ - case USCRIPT_MONGOLIAN: + case USCRIPT_OGHAM: nFlag = ??; break; #endif commit 95c787160448d37e82efe8b7ee2f63bc4eea8541 Author: Khaled Hosny <[email protected]> Date: Thu Oct 20 23:04:02 2016 +0200 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 diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index cdb9b19..f4fc63f 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; }
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
