Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13468

[font/freetype] Vertically Writing (tategaki) support

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • Win32SS

    Description

      We have to implement "TATEGAKI" for Asian font support. This word "tategaki" means vertically writing in Japanese.

      Please see the screenshot Tategaki.png and the test program Tategaki.zip. Tategaki are usually used in Asian.

      The tategaki font name begins by "@". For example, The font name "@MS Gothic" indicates a rotated font of "MS Gothic". Usually tategaki are used with font rotation. However arbitary font rotation will be later work.

      Keywords are: FT_HAS_VERTICAL and FT_LOAD_VERTICAL_LAYOUT.

      If FT_HAS_VERTICAL(face) is true, the face has vertical text layout. Then, you can use "@" plus font name. If you loads a glyph with FT_LOAD_VERTICAL_LAYOUT, the loaded glyph might have special layout (especially Asian-specific characters of class Tu or class Tr). In tategaki font (with @), the characters of class U and class Tr should spin 90 degrees counterclockwise. The character of class R has no difference in rendering. See freetype documents for details. See VerticalOrientation-17.txt for character classification.

      The tategaki font names should be enumerated with "@", by EnumFontFamiliesEx function.

      Attachments

        1. VerticalOrientation-17.txt
          13 kB
        2. tategaki-wip.patch
          16 kB
        3. TategakiTest.zip
          27 kB
        4. TategakiTest.zip
          28 kB
        5. TategakiTest.ttf
          5 kB
        6. TategakiTest.ttf
          5 kB
        7. TategakiTest.sfd
          24 kB
        8. TategakiTest.sfd
          23 kB
        9. tategaki-before.txt
          100 kB
        10. tategaki-after.txt
          100 kB
        11. Tategaki.zip
          81 kB
        12. Tategaki.png
          Tategaki.png
          5 kB
        13. result.txt
          11 kB
        14. metrics2.png
          metrics2.png
          2 kB
        15. generate_vert_font_table.py
          1 kB
        16. generate_vert_font_table.py
          2 kB
        17. aoview20060317src.zip
          184 kB
        18. add-tategaki-tests.patch
          11 kB
        19. add-tategaki-tests.patch
          11 kB

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              katayama_hirofumi_mz Katayama Hirofumi MZ
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: