Follow-up questions

MMLeahy3/19/2023
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.
UUUnknown User3/19/2023
Message Not Public
Sign In & Join Server To View
MMLeahy3/20/2023
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'] }
   ]
}


You might want to check if the keys / font name is already in fontDefinitions, but otherwise that should work.
UUUnknown User3/20/2023
Message Not Public
Sign In & Join Server To View
LTLLLeo The League Lion3/20/2023
@LorduFreeman gave :vote: LeaguePoints™ to @MLeahy (#16 • 204)