Ruby Annotation support

Forums » Opera for Windows/Mac/Linux » Desktop wish-list

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

11. May 2004, 00:43:50

kailapis

^^;

Posts: 150

Ruby Annotation support

I'd like Opera to support the ruby annotation (http://www.w3.org/TR/ruby/). I browse mainly Japanese websites, and some of them use the ruby annotation. The annotation degrades well, so it's not a problem. I like the simplicity of the ruby annotation, and I think Opera should support it when it's a W3C recommendation that IE6 already supports.

11. May 2004, 05:47:23

Opera Software

csant

from outer space

Posts: 1999

+1
"He is old". But she is wrong. It is not age; it is that a drop has fallen; another drop.
~~~ Virginia Woolf

19. October 2006, 18:52:37

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Opera should consider the japanese point of view more seriously.
Now it has a Nintendo DS version, more and more Japanese will download Opera for their Desktop computer too.
And <ruby> is used important for writing Japanese ふりがな.
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

20. October 2006, 19:14:34

shadowskillRENAMED

Banned user

It would seem pretty obvious to support this if you are going to be on a product that is made by a Japanese company...... +1

26. February 2007, 09:39:58

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

I would heart it.
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

26. February 2007, 10:54:59

White Lynx

Posts: 1978

Would support for simple Ruby, like the one below, be sufficient?
<ruby><rb>Base</rb><rt>annotation</rt></ruby>

10. March 2007, 17:46:43

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

It should understand the standard complex ruby as well (which is not so complex) :
<ruby><rbc><rb>熱</rb><rb>血</rb></rbc><rtc><rt>ねっ</rt><rt>けつ</rt></rtc></ruby>
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

6. April 2007, 09:37:01

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

wait
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

12. April 2007, 18:04:54

nikkinikki

Posts: 17

+1

If you copy the CSS from https://bugzilla.mozilla.org/attachment.cgi?id=93043 or http://web.nickshanks.com/stylesheets/ruby.css to your user CSS file, you can get very basic support for Ruby. It's somewhat buggy, it doesn't support two sets of ruby texts like in http://www.w3.org/TR/ruby/shinkansen-top-bottom.gif but it seems to at least produce legible Ruby for just one set. You might have to edit the CSS to change the font size or vertical alignment, I had to add !important after the font size for the Ruby text to force it to be smaller.

Screenshot of it in action: http://img267.imageshack.us/img267/5977/bildschirmphoto1kf9.png

Question for the Opera devs, should any read this: Do you plan to add support for Ruby? There's hardly anything left of XHTML that you don't support! While the Ruby CSS3 module is a bit more complicated, I don't think the XHTML code should be overly difficult to support. It would be really great if Opera could become the first cross platform browser to support Ruby.

RADicaLMMS: It's not the only thing IE beat the other browsers to, it also supports vertical text and no other browsers do.

13. April 2007, 22:23:29

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

There are some userjs (here and there) too but this should be part of Opera. It's part of IE for years and years.
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

15. April 2007, 19:40:32

xErath

javascript guru

Posts: 6588

Originally posted by nikkinikki:

While the Ruby CSS3 module is a bit more complicated, I don't think the XHTML code should be overly difficult to support.

Ruby is both a set of (x)html elements and css rules, so both have forcefully to be implemented together.
Then heuristics must be thought, and compared against IE to handle malformed ruby in html tag soup.

Originally posted by nikkinikki:

It would be really great if Opera could become the first cross platform browser to support Ruby.

IE supports simple Ruby
For a collection of user scripts visit
http://my.opera.com/xErath/blog/

16. April 2007, 06:01:58

kailapis

^^;

Posts: 150

+1 p

Yeah, IE only supports simple ruby annotation. Microsoft probably hasn't done anything since IE5.
I've never really seen complex ruby annotation used, more than likely because nothing supports it.

18. April 2007, 17:58:30

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Originally posted by xErath:

IE supports simple Ruby


And complex ruby as well (IE6 here).
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

18. April 2007, 20:25:50

kailapis

^^;

Posts: 150

No, it only seems like IE supports it. IE treats all the rb tags as a single rb and the same for the rt tags... at least IE7 seems to treat them like that.

If you look at Hokyo or Kishu in your page, you see that the rt intended for the second kanji spans the second half of the first kanji as well. It's more noticeable in the complex ruby tests in the W3C I18N Test Suite.

20. April 2007, 09:11:33

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Oh yes, that's ugly! I did not open IE long enough to spot this smile
But again at least basic support is the minimum that Opera doesn't even provide.
That's quite a serious inconvenience for a browser that is on (japanese) Wii and on (japanese) DS, isn't it? smile
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

20. April 2007, 19:35:02

zoligrg89

Posts: 181

if you say it's a w3C recomandation,
+9999

21. March 2008, 07:09:59

kailapis

^^;

Posts: 150

True, but it seems like ruby doesn't get any love these days. Even Firefox 3 and Safari 3 ignore them, and IE 8 hasn't made any progress either.

8. April 2008, 12:09:06

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

At least they work in those browsers, don't they ?
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

8. April 2008, 21:37:08

kailapis

^^;

Posts: 150

No, not really.
You need an extension for Firefox, and I don't really know how to make Safari do it.

9. April 2008, 08:20:51

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

This is really a pitty when you imagine that this basis of japanese scripture only works in Internet Explorer.
Developers should open any japanese magazine to see for themselves that all the pages are covered by hundreds or ruby!

The Japanese should build up a pressure group smile
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

8. October 2008, 23:49:21

kailapis

^^;

Posts: 150

Yup... ruby annotation gets no love cry

13. July 2009, 15:36:34

kailapis

^^;

Posts: 150

WebKit based browsers may be getting rudimentary ruby annotation support soon. Soon is a relative term, but at least we know there's some progress there.

Comment 5 by rolandst...@google.com, Today (5 hours ago)

The patch has been submitted to WebKit, and had to be split up in order to reduce individual patch size. Main review should hopefully start soon.

15. July 2009, 11:25:46

DanielHendrycks

STEM loving liberal

Posts: 2632

Originally posted by Ti:

What is webkit?



A rendering engine developed by apple used for browsers such as safari and chrome.

18. November 2009, 03:17:50 (edited)

kailapis

^^;

Posts: 150

It's here.

Ruby annotation support in Chrome, that is. The new versions of Chrome in dev channel (4.0.245.0+) and webkit nightlies include basic support for ruby annotation. No text spacing yet, and they only support the HTML 5 edition of ruby annotation (so complex ruby annotation support as in the XHTML 1.1 ruby module is unlikely), but they now have a native solution.

Implementation progress on the HTML5 <ruby> element via mycom journal

This also means that Safari and other webkit-based browsers will be getting ruby annotation support in the not-so-distant future. It's your turn, Opera. I hope you consider implementing it for Opera 11.

16. February 2010, 18:59:49 (edited)

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Mod edit: No trolling, please.
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

18. November 2009, 10:11:12

serious

Lab mouse and likes it!

Posts: 5297

+1
All my posts only represent my own opinions.
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]

16. February 2010, 19:01:05 (edited)

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Mod edit: Please try to be polite and constructive.
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

16. February 2010, 18:59:13 (edited)

LoWang

Posts: 195

Moderator note: This post has been removed for violating our Terms of Service.

18. February 2010, 20:11:56 (edited)

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Moderator note: This post has been removed for violating our Terms of Service. Please do not spam the forum with identical posts.
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

17. February 2010, 19:34:13

serious

Lab mouse and likes it!

Posts: 5297

+1 once again for the poor japanese guys
All my posts only represent my own opinions.
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]

18. February 2010, 13:52:21

kailapis

^^;

Posts: 150

And well... now it's going to be in HTML 5. The HTML 5 version is going to be much simpler than the XHTML 1.1 Ruby module that everyone including IE ignored. Now that webkit has implemented the HTML 5 version (and IE has arguably implemented since it's pretty much the same as the draft ruby spec for HTML 4), I hope Opera will follow in their footsteps.

18. February 2010, 18:47:05

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Hi Kai, I can't wait for HTML5 by the way ! It's just like the HTML POWAR IS COMING BACK ! (I've always downlooked at XHTML and did not use it).
But oh, please Opera do that <ruby> thing even before you do HTML5. The wait has been too long already.
Thanks to dudes like kailapis and White Lynx we actually do have a userjs solution. But it's a shame having to use a workaround in 2010 after Jesus Christ 21st century.
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

2. March 2010, 14:46:04

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Hey It's incredible censorship, Moderators keep deleting all instances of the following (true) statement :

IE5 beta 2 was released in june 1998, with ruby support included.

It should really be let in this forum, what is the point of hiding this from Opera users??
(I'm also an Opera user, I still love it too all those years)
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

29. June 2011, 07:40:18

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

Hi there, bad news.
I’ve tested the brand new Opera version 11.50 (1074) and I have to admit that it still has no <ruby> support of any kind.
Yet again long live to Kailapis’ HTML Ruby extension.
cry 1998

PS. to moderators, this is not troll / spam / duplicate : I have waited for testing two new Opera versions before noticing there is still no <ruby> support (which is ancient W3C standards and therefore will eventually come into Opera, there is no doubt about this). So please don’t remove this notice. smile
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

29. June 2011, 09:29:25

serious

Lab mouse and likes it!

Posts: 5297

+1 as always smile
All my posts only represent my own opinions.
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]

30. March 2012, 17:00:53

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

  doh Still no <ruby> in 11.62.

Here is a quick shortcut to the most basic simple ruby test (from W3C ruby test page new URL).

Get Kailapis’ HTML Ruby extension. banana
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

15. June 2012, 08:08:11

jesus2099

♡.. \(^Δ^;)/ ..☭

Posts: 356

  doh Still no <ruby> support in Opera 12. (1467 win XP)

Here is a quick shortcut to the most basic simple ruby test (from W3C ruby test page new URL).

Get Kailapis’ HTML Ruby extension. banana
jesus2099 × Ti = Tristan + patate12 ÷ saucisson7 éditer bug report
※ My bugs and whishlist for Opera
Using latest stable version on Windows XP

15. June 2012, 08:23:32

mimi_s_mum

Queen of DIY & rugby loving sicfi buff translator

Posts: 2785

+1 (Better late than never, right? wink)
Desktop OS: Windows 8 x64 + 7 x64 sp1 x2 + XP sp3; Mobile OS: Android 4.0.4; Other specs (outdated, sorry)
New Zealand All Blacks the 2011 Rugby World Cup Champion knight

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum@myopera.com)

Forums » Opera for Windows/Mac/Linux » Desktop wish-list