Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Font disappeared from my sheet this week

1696503228
Robert B.
Pro
Marketplace Creator
Sheet Author
The sheet in question is for Sword World 2.5. One of the google fonts suddenly disappeared from the sheet. It was being used in roll templates. Looking at the rendered source, I can still see the other font load, but not the missing one. Here's what the missing line looks like: @import url('<a href="https://fonts.googleapis.com/css?family=Jim+Nightshade&amp;display=swap" rel="nofollow">https://fonts.googleapis.com/css?family=Jim+Nightshade&amp;display=swap</a>'); If I try loading the sheet (directly from the copy in Roll20 github) in the sandbox or as a custom sheet, it works as before. So, it seems like the font is being filtered out at runtime for some reason. I tried adding a space between it and the other font in case something weird is going on, but no luck. As a workaround, I added one of the standard Roll20 fonts as a backup font to the css. But that kinda of sucks, and really I'm just curious why it suddenly stopped working live. Anyone having similar issues?
1696571572

Edited 1696700397
vÍnce
Pro
Sheet Author
I think roll templates have a quirk due to their legacy requirements (ie "sheet-") where they only recognize the first @import url.&nbsp; Looks like the Sword World sheet uses two @import url lines for fonts... so maybe try combining them into a single line like so; @import url(' <a href="https://fonts.googleapis.com/css2?family=Jim+Nightshade&amp;family=Noto+Sans&amp;display=swap" rel="nofollow">https://fonts.googleapis.com/css2?family=Jim+Nightshade&amp;family=Noto+Sans&amp;display=swap</a> ');
1696596695
Robert B.
Pro
Marketplace Creator
Sheet Author
Thanks. I am going to try that. Weird that it was working and works in the sandbox and as custom sheets. Will legacy sheets ever be gone? lol