Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-529

Add support for vertical text writing

    XMLWordPrintable

Details

    Description

      It would be useful if Qt had support for vertical text writing which is common in many Asian languages.

      Traditionally (and still very common today) Chinese, Japanese and Korean were written vertically. This is not yet possible with Qt.

      This is not just rotating the entire text about 90%, but instead the writing starts at the upper right corner, going down in a line to the bottom of the page, continuing in the next line left to the previous line. The individual characters are not rotated, but are instead stacked on each another:

      日こ
      本れ
      語は

      Also, some characters look slightly different when written vertically, e.g. 、。「っ and so on. I think, this is done via the "vert" substitution table in the fonts.

      Vertical writing is also extremely necessary for Mongolian, which can only be written vertically. In this, the writing differs a little bit from CJK writing, because it starts at the upper left corner.

      All in all, this is really a necessary feature.

      Attachments

        1. screenshot-on-linux.png
          31 kB
          Takumi ASAKI
        2. screenshot-on-mac.png
          41 kB
          Takumi ASAKI
        3. Vertical_text_writing_Patch_For_JiangJiang.zip
          5 kB
          yangchen
        4. verticaltext.zip
          3 kB
          Takumi ASAKI
        5. verticaltext-on-linux.PNG
          86 kB
          yangchen

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ritt.ks Konstantin Ritt
              jabarron Jason Barron
              Votes:
              25 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes