I can't seem to find a way to load ImageFont in mojo.app.Theme JSON definition. After digging through the source it appears that a mojo theme will never load an ImageFont through the JSON.
I can directly assign a Font to a style such as App.Theme.GetStyle("...").Font = MyImageFont though I also can't iterate through all styles and states, making this pretty tedious.
Original Author: seankarol
I can't seem to find a way to load ImageFont in mojo.app.Theme JSON definition. After digging through the source it appears that a mojo theme will never load an ImageFont through the JSON.
I can directly assign a Font to a style such as
App.Theme.GetStyle("...").Font = MyImageFont
though I also can't iterate through all styles and states, making this pretty tedious.Thank you in advance.