GNU bug report logs - #63434
29.0.60; eww does not handle properly ruby/rt elements (e.g. Japanese furigana)

Previous Next

Package: emacs;

Reported by: dmg <at> turingmachine.org

Date: Thu, 11 May 2023 05:32:02 UTC

Severity: wishlist

Found in version 29.0.60

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: dmg <dmg <at> turingmachine.org>
Cc: 63434 <at> debbugs.gnu.org
Subject: bug#63434: 29.0.60; eww does not handle properly ruby/rt elements (e.g. Japanese furigana)
Date: Tue, 16 May 2023 19:49:34 +0300
[Cc'ed to debbugs to keep the bug report actionable]

>>> eww does not properly support the ruby/rt elements in HTML.
>>
>> Shouldn't the fallback element <rp> be used for browsers without ruby support?
>>
>> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp#without_ruby_support
>
> I think the ideal way would be to have a variable that configures the
> behaviour.
>
> In theory, the ruby is there to provide extra information to help with
> readability. But it only works if the reading medium provides support
> for placing the rt above the ruby.
>
> The simple solution would be to have a variable that:
>
> - when false, ignores the rt.
> - when true, renders it (using the fallback element if exists).
> - Otherwise, if it is a two characters string, the first char is
>    used to open the ruby and the second to close it.

I agree.  When customized to two characters, it could behave
as if the fallback element existed.




This bug report was last modified 1 year and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.