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

Support HTML ruby (Furigana) annotation as HTML markup

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • None
    • GUI: Text handling
    • None

    Description

      There is a HTML feature called "ruby markup" (no connection to the Ruby programming language), which displays additional characters above the base text.

      This is usually used in Japanese for giving the pronunciation of a character. This is to some degree used in the Internet and some browsers do support it (either natively or with an addon). The W3C has published an easy to understand article about the issue: http://www.w3.org/International/articles/ruby/ (see also the further reading section below).

      It would be good if Qt also supports this. Qt already supports HTML markup in Message Boxes, Labels, HTML widgets etc, so it would be good if this one would also be supported. Some usage examples would be:

      1. The Japanese translation of an application uses a relatively seldom known character, which the user may not know. In books/magazines/etc, there would be ruby annotation next to the character to give the pronunciation. This could then also be done in a Qt application.

      2. It would be possible to create translations especially for children, who have not yet learned the characters in the school. It may be hard for them to read the application. With ruby annotation, difficult characters could be annotated, thus giving children better access to the application.

      3. Many websites do use this annotation. Currently, if you open the website with a Qt Browser, it is not displayed.

      4. In my case, I use Anki (www.ankisrs.net), a flashcard program which is based on PyQt, to learn Japanese. It would be good if I could use ruby annotation inside my flashcards.

      "Simple ruby" (as defined in the W3C document) would be sufficient for the beginning.

      Thank you very much.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            bakrat Hans Schmidt
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes