<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unicode Hentaigana does not rotate in vertical layout"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114002#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unicode Hentaigana does not rotate in vertical layout"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114002">bug 114002</a>
              from <span class="vcard"><a class="email" href="mailto:marklh9@gmail.com" title="Mark Hung <marklh9@gmail.com>"> <span class="fn">Mark Hung</span></a>
</span></b>
        <pre>(In reply to Volga from <a href="show_bug.cgi?id=114002#c11">comment #11</a>)
<span class="quote">> 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 <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Dingbats fully rotated in vertical layout"
   href="show_bug.cgi?id=108302">bug 108302</a>). 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 (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Tangut chatacters do not rotate in vertical layout (Tangut Yinchuan)"
   href="show_bug.cgi?id=111444">bug 111444</a>), CJK Ideograph ExtB+ (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 新細明體-ExtB does not display chars vertically in Writer"
   href="show_bug.cgi?id=107488">bug 107488</a>). This is a problem for
> how does LO handle character orientation for such characters.</span >

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>