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

Provide a way to display Furigana (phonetic guides for Kanji) in QML

XMLWordPrintable

      In Japanese, there is a system called furigana, where the pronunciation of kanji is displayed above the characters. This is often provided for children or foreigners learning Japanese. In recent years, with the increase of foreign residents in Japan, it has become standard for documents aimed at them to always include furigana.

      Currently, there seems to be no way to achieve this in QML.

      On the other hand, in HTML it is possible, as shown in the article below:
      https://style.potepan.com/articles/21845.html

      For example:

      <ruby>
        機<rt>き</rt>械<rt>かい</rt>工<rt>こう</rt>場<rt>じょう</rt>
      </ruby> 

      I tried this in QML, but it did not work. (furigana was supposed to be on top of kanji, not next to them)

        1. ruby.zip
          3.41 MB
          Mikio Hirai
        2. image-2025-09-02-10-07-55-332.png
          44 kB
          Mikio Hirai
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes