Font family mapping in UITextDisplayer #4749
Labels
component: TTML
The issue involves TTML subtitles specifically
component: UI
The issue involves the Shaka Player UI
flag: good first issue
This might be a relatively easy issue; good for new contributors
flag: seeking PR
We are actively seeking PRs for this; we do not currently expect the core team will resolve this
priority: P2
Smaller impact or easy workaround
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
According to the specifications tts:fontFamily and <genericFamilyName>, I understand that when the font family is a generic name, a mapping should be applied.
What I saw during one of my tests is that
tts:fontFamily="proportionalSansSerif"
is simply converted tofont-family: proportionalSansSerif;
, and since this font doesn't exist (at least to my knowledge), it produces the wrong display.Example:
Did I get it right?
The text was updated successfully, but these errors were encountered: