fvtt-module-theatre icon indicating copy to clipboard operation
fvtt-module-theatre copied to clipboard

Missing and broken fonts

Open arcanistzed opened this issue 3 years ago • 0 comments

This module references fonts which don't exist in the module at all or that are broken.

You can find these references in the CSS file here: https://github.com/League-of-Foundry-Developers/fvtt-module-theatre/blob/5db85bc2b3f5de4bc5e7d8c6fe265aa55f1a9ece/app/css/theatre.css#L3-L613

The broken fonts are Lumos and BrentonScrawlType. The missing files are for Megadeth, BadManners, Tiza, RomanNewTimes, BianHeiti, SourceHanSerifSC-Medium.

This was identified by running the following code:

for (const font of document.fonts) document.fonts.load(`1rem ${font.family}`);

NOTE: This causes errors when Custom Fonts registers all of these fonts with Dice So Nice since DSN loads fonts with the above code.

arcanistzed avatar Feb 21 '22 23:02 arcanistzed