After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322391 - Add support for furigana (ruby text)
Add support for furigana (ruby text)
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2005-11-25 02:48 UTC by Maciej Katafiasz
Modified: 2018-05-22 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej Katafiasz 2005-11-25 02:48:27 UTC
Pango should have support for furigana (ruby text), that is an additional text
rendered beside the normal line, usually to give phonetic reading or other info
which helps interpret writing, common in Asian ideographic writing systems.

This is the place to dump ideas on what's needed and useful when implementing that.
Comment 1 Young-Ho Cha 2006-04-23 09:37:49 UTC
I'm patching gstreamer subparsing plugin to support sami subtitle support (bugzilla #169936), and If it'll be impletmented, it can be apply in sami subtitle support too.
Comment 2 Seán de Búrca 2007-06-11 23:23:53 UTC
It may be worthwhile to note that, if it's decided to implement ruby support in Pango, W3C has a recommendation at http://www.w3.org/TR/ruby/ for ruby markup that could be useful. Notably, the <rp/> element may be superfluous in Pango, as the same backwards compatibility considerations probably don't need to be made. Other than that, the complex ruby markup could prove useful.
Comment 3 Behdad Esfahbod 2007-11-24 02:07:09 UTC
Interesting link: http://yacob.org/ethio-ruby/
Comment 4 Behdad Esfahbod 2007-11-24 02:08:37 UTC
(09:02:34 PM) mjg59: What would be involved in implementing it? 
(09:03:08 PM) Behdad Esfahbod: mjg59: umm.  hard question.  an API would be the start.
(09:03:47 PM) Behdad Esfahbod: it shouldn't be hard to experiment externally.
(09:04:30 PM) Behdad Esfahbod: mjg59: one way to do: define a PangoAttribute for the ruby text, then implement a PangoRenderer like gdk/gdkpango.c does that interprets your new attribute and uses a separate PangoLayout to render the annotation.
(09:05:32 PM) Behdad Esfahbod: mjg59: that's kind what I see it being implemented in pango eventually.  or maybe something more hardcoded, like how the hexbox stuff is implemented.
Comment 5 Behdad Esfahbod 2007-12-11 18:05:38 UTC
Kinda related to bug 503083.

A main obstacle to using PangoAttribute's for ruby text is that attributes will be freely split to keep iteration simple...
Comment 6 GNOME Infrastructure Team 2018-05-22 12:12:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/31.