SceneGraph provides preset Font definitions of:
- LargeSystemFont
- MediumSystemFont
- SmallSystemFont
- SmallestSystemFont
- LargeBoldSystemFont
- MediumBoldSystemFont
- SmallBoldSystemFont
- SmallestBoldSystemFont
I would like the ability to define a single document similar to how translation files are used to override these values or define new ones. This would save me a lot of effort on how custom fonts are applied within an app. Additionally as Enterprise developers are a primary target for the roku platform most have some level of brand guidelines that include specific typography.
Example of what i'd like to see:
example standard location: pkg:/fonts/override.xml
<FontDefinition
Name="LargeSystemFont"
URI="pkg:/fonts/myfont.ttf" />
This would be defined at a top level directory one time. Following that any resource that looks at LargeSystemFont as it's font, would be redirected to my custom definition. Saving me a lot of lines of code and a lot of time/effort/testing.