https://bugs.documentfoundation.org/show_bug.cgi?id=98879
--- Comment #10 from Khaled Hosny <khaledho...@eglug.org> ---
What about this patch:
diff --git a/vcl/source/gdi/CommonSalLayout.cxx
b/vcl/source/gdi/CommonSalLayout.cxx
index 91d7762..42e33ae 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -547,9 +547,8 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
if (bVertical)
{
int nVertFlag;
-#if 0 /* XXX: does not work as expected for Common script */
- UErrorCode error = U_ZERO_ERROR;
- nVertFlag =
GetVerticalFlagsForScript(uscript_getScript(aChar, &error));
+#if 1 /* XXX: does not work as expected for Common script */
+ nVertFlag =
GetVerticalFlagsForScript(aScriptRun.maScript);
#else
nVertFlag = GetVerticalFlags(aChar);
if (nVertFlag == GF_ROTR)
It seems to improve this test file, but breaks parentheses :(
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs