https://bugs.documentfoundation.org/show_bug.cgi?id=98879

Mark Hung <mark...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |khaledho...@eglug.org

--- Comment #8 from Mark Hung <mark...@gmail.com> ---
Hi Khaled,

Here are some findings and my thoughts about processing vertical writing -

For common layout, GetVerticalFlagsForScript() returns GF_NONE for
USCRIPT_COMMON, so the CJK punctuation marks in the sample do not have chance
to be processed processed as its vertical writing form in
CommonSalLayout::LayoutText().

OTOH, I'm thinking maybe GetNextRun should merge runs with script type
USCRIPT_COMMON with previous run or set it to script type of the whole text if
the run contains CJK punctuation marks as mentioned in 5.1 Handling Characters
with the Common Script Property in UAX#24.

The last thing is about how LayoutText set vertical flags for each glyph.
Define rotation purely based on codepoint seems to be error prone. It also
depend on availability of vertical writing form in different font.

-- 
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

Reply via email to