You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TTML1SE says that lineHeight "is used to specify a style property that defines the inter-baseline separation between line areas" However it is unclear what the height of the line areas is, for the purpose of drawing the background as specified on a span. Is it identical to the computed line height, or is it related to the height of the line areas created based on the text contained within the span, independent of the baseline separation of those line areas?
The XSL-FO line area definition [1] appears to be relevant, though I'm not sure if it resolves the question.
We need to address this additionally for any mapping to HTML/CSS because it appears that a simple mapping of TTML concepts into CSS could introduce 'no background paint' areas in between lines.
If the two concepts may be computed to have different values this introduces the possibility that between two lines separated by e.g. a an empty 'no background paint' area may be introduced. I would argue that this is highly undesirable aesthetically when lineHeight is approximately the same as the line area height, e.g. in the range 80-125%. However if the two concepts must always have identical values this possibility would not arise; instead lines may be spaced far apart (for a large lineHeight) and the entire height would be painted with background colour. This latter option may also be undesirable in some use cases.