3 ms·
> Ruby annotation support Finally! After only 24 years, East Asian languages get some attention. Perhaps next Western browser makers might consider vertical t
by TazeTSchnitzel 12y ago
> Ruby annotation support
Finally! After only 24 years, East Asian languages get some attention.
Perhaps next Western browser makers might consider vertical text support.
sigh
- ramy_d 12y agothe syntax is really confusing though. Duplicating characters? I thought it was hard to follow what would end up where https://hacks.mozilla.org/2015/03/ruby-support-in-firefox-developer-edition-38/ https://hacks.mozilla.org/2015/03/ruby-support-in-firefox-de...
- TazeTSchnitzel 12y agoThe syntax isn't that bad. It's written in a style that gracefully degrades: strip out the HTML tags, and it's perfectly readable, but the furigana shows up inline rather than above. Portions are duplicated to ensure graceful degradation. You type 振り仮名(ふりがな) (with tags demarcating the sections, of course), repeating the り, so it'll show up properly if the browser lacks ruby text support. But if the browser does have ruby text support, it can hide the り from the furigana because it's redundant: 振 仮名 ふりがな
- wodenokoto 12y agoOn iPad the り is only visible in the furigana. On top of that, the furigana is displayed below the text.
- TazeTSchnitzel 12y agoYes, only Firefox 38 has support for advanced ruby text, unfortunately. While advanced ruby text degrades great in browsers with no ruby text support at all, it doesn't seem to degrade well in browsers with basic support :(
- TazeTSchnitzel 12y agoOh wow, I screwed that up. I meant to type this: ふ がな 振り仮名 Furigana is a pronunciation guide for kanji, not the other way around. ;)
- robin_reala 12y agoVertical text support is coming on quickly in Firefox. There’s still a bunch of blockers, but they’re being knocked off fast: https://bugzilla.mozilla.org/show_bug.cgi?id=145503 https://bugzilla.mozilla.org/show_bug.cgi?id=145503
- TazeTSchnitzel 12y agoThat's great to see!