Allow specifying font name in fontSources config #19269
Labels
A-web
Area: Web & Extensions
enhancement
New feature or request
text
Issues relating to text rendering/input
Describe the feature
Provide a clear and concise description of your feature request. Why would this feature be useful? Does the feature involve the desktop build, the web build, or both?
When using a TTF file as a font source, can there be a way to specify the name (and maybe also boldness and italicness) of the font for which to use that TTF file? Right now, it's based on the font name defined within the TTF file or falls back to the URL if no font name exists within the TTF file, but if you didn't create the TTF file and don't have the ability to edit the SWF file the font name in the TTF file may not match the font name requested by the SWF.
ruffle/web/src/builder.rs
Lines 422 to 433 in 41e373c
The text was updated successfully, but these errors were encountered: