Details
-
Suggestion
-
Resolution: Unresolved
-
P5: Not important
-
None
-
None
-
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.