Follow-up questions

For Foundry v10+ here is the essential info for module integration as I gather you might want to load a font or two for whatever your module does: https://foundryvtt.com/article/v10-font-config/ When looking at the core Foundry client code check out FontConfig as this manages the process for Foundry.
UU
Unknown User404d ago
TM
TyphonJS (Michael)404d ago
That looks correct... An example font from a module I have is:
CONFIG.fontDefinitions['Almendra'] = {
editor: true,
fonts: [
{ urls: ['modules/<YOUR MODULE ID>/assets/fonts/almendra-v15-latin-regular.woff2'] }
]
}
CONFIG.fontDefinitions['Almendra'] = {
editor: true,
fonts: [
{ urls: ['modules/<YOUR MODULE ID>/assets/fonts/almendra-v15-latin-regular.woff2'] }
]
}
You might want to check if the keys / font name is already in fontDefinitions, but otherwise that should work.
UU
Unknown User404d ago
LTL
Leo The League Lion404d ago
@lordufreeman gave vote LeaguePoints™ to @mleahy (#16 • 204)