[Libreoffice-bugs] [Bug 114002] Unicode Hentaigana does not rotate in vertical layout

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 8 22:15:38 UTC 2017


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

--- Comment #13 from Mark Hung <marklh9 at gmail.com> ---
(In reply to Volga from comment #11)
> I think I know what’s wrong with it. Currently. LibreOffice can handle text
> orientation even if the font does not has support for vertical layout
> (notably, for Dingbats and Letterlike symbols, since bug 108302). However,
> if the character is encoded out of Basic Multilingual Plane, the orientation
> will be failed. This problem not only affect Hentaigana, but also affect
> Tangut (bug 111444), CJK Ideograph ExtB+ (bug 107488). This is a problem for
> how does LO handle character orientation for such characters.

I guess the actual issue is that we don't know how we should initialize font
properly. In Windows we prepend @ to the font name to indicate it is for
vertical writing and set font Escapement and font Orientation to the text
orientation ( i.e. 270 for vertical writing ). Somehow that works for most
characters in SMP but not for BMP, but that might be a coincidence. It might
also be font dependent so that the characters work correctly even they are in
SMP. Maybe we can create some test with EXT-B characters and render them in
HanaMinB ( assume the font is implemented correctly for EXTB characters ) to
verify our assumption. If we can differ the characters, then we can set the
orientation correctly for those characters.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171208/6b1cc138/attachment-0001.html>


More information about the Libreoffice-bugs mailing list