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

--- Comment #13 from Mark Hung <[email protected]> ---
(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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to