imscJS
imscJS copied to clipboard
Children text nodes of ruby container spans must be pruned after style resolution
https://github.com/sandflow/imscJS/blob/8d458897b38a8d6d2d5b6802637437c4ecb5f436/src/main/js/doc.js#L182
https://github.com/sandflow/imscJS/blob/8d458897b38a8d6d2d5b6802637437c4ecb5f436/src/main/js/doc.js#L633
The computed value of tts:ruby
cannot be determined until after style resolution, which happens during ISD creation.
See https://github.com/w3c/ttml2/issues/1140
Hi,
is this ticket about the same problem that I just discovered? See example ttml file, current IMSCJ1_1 render png, and proposed correct render png. ruby_problem.zip
Let me know if I should open a new ticket. Thanks, Adam
@cfadamp I am not sure the rendering labeled wrong is incorrect: as far as I know, ruby text that is wider than the base does not typically overhang preceding/following Kanji -- see 3.2(4) at https://www.w3.org/TR/2020/WD-simple-ruby-20200609/
@palemieux thank you, I will check this out. Please ignore my comment, as it turned out it is not related to this issue.