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

Including Fonts in roll 20 character sheets.

1502569599

Edited 1502569757
So i'm using code like this to include fonts into my character sheet.  And this code does work. My fonts appear successfully inside the character sheet. However in order to get them to appear, I need to check this box in the upper right hand corner, and the system doesn't remember my preference if I close the page and reopen it.  When I view the browser console, I'm getting a Mixed Content error. It looks like roll20 is stripping the explicit https out and running the link through imgsrv.roll20.net. There a known way to get around Chromes tight security on this, or is there a better way to link that font so i'm not getting security warning? I have a few fairly security conscious players, and I'd like to be able to present the awesomeness of my character sheet without requiring that extra friction. 
1502570962

Edited 1502571175
Finderski
Pro
Sheet Author
Compendium Curator
Unfortunately not. &nbsp;It's something that has been requested, but nothing's happened as yet. :'( Hopefully, some day, we'll get to use better fonts with our character sheets. EDIT: One slight correction...if you use d20 native fonts, then you won't have the issue. &nbsp;The native fonts are: Patrick Hand -- <a href="https://www.google.com/fonts/specimen/Patrick+Hand" rel="nofollow">https://www.google.com/fonts/specimen/Patrick+Hand</a> Contrail One -- <a href="https://www.google.com/fonts/specimen/Contrail+One" rel="nofollow">https://www.google.com/fonts/specimen/Contrail+One</a> Shadows Into Light -- <a href="https://www.google.com/fonts/specimen/Shadows+Into" rel="nofollow">https://www.google.com/fonts/specimen/Shadows+Into</a>... Candal -- <a href="https://www.google.com/fonts/specimen/Candal" rel="nofollow">https://www.google.com/fonts/specimen/Candal</a> Patrick Hand: Contrail One: Shadows Into Light: Candal: To use these fonts, you just need to refer to the fonts themselves, no need to link to external files or anything like that.
That's quite unfortunate, and that is definitely a much desired feature.
1502574067
Finderski
Pro
Sheet Author
Compendium Curator
If you have votes available, you could throw one at this suggestion:&nbsp; <a href="https://app.roll20.net/forum/post/2593284/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/2593284/slug%7D</a>... :)
1502584027
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Finderski, what is the reference name for each of those d20 fonts in css?
I was first shown them&nbsp; here (includes the refference). &nbsp;They aren't well shown in the preview pane, but have no issue in the game.
1502888405

Edited 1502888736
Finderski
Pro
Sheet Author
Compendium Curator
Sorry...just saw this (I haven't been online much lately)...As CPP mentioned, but for ease and consolidation, here's what should work: font-family: "Shadows Into Light", cursive; font-family: "Patrick Hand"; font-family: "Contrail One"; font-family: "Candal";
1502888918

Edited 1502889003
Finderski
Pro
Sheet Author
Compendium Curator
Also, here are a few more that may be used for different things (such as icons, etc): font-family: "Pictos"; font-family: "Pictos Custom"; font-family: "Pictos Three"; font-family: "dicefontd4"; font-family: "dicefontd6"; font-family: "dicefontd8"; font-family: "dicefontd10"; font-family: "dicefontd12"; font-family: "dicefontd20" If you want to see these icons, you can go here:&nbsp; <a href="https://app.roll20.net/forum/permalink/892198/" rel="nofollow">https://app.roll20.net/forum/permalink/892198/</a>
1502891266
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Thanks guys. Didn't realize they didn't work in the preview pane, so was assuming that they just didn't work.
1502904345
Lithl
Pro
Sheet Author
API Scripter
Bryan W. said: I have a few fairly security conscious players, and I'd like to be able to present the awesomeness of my character sheet without requiring that extra friction.&nbsp; One option could be to get your players to install the font locally. You've already got the local &nbsp;src definitions in your font-face, so if your player has the font installed (with the appropriate name), the system will grab the font from their computer instead of trying to load it over the Roll20 proxy that's causing the problem. Finderski said: Also, here are a few more that may be used for different things (such as icons, etc): font-family: "Pictos"; font-family: "Pictos Custom"; font-family: "Pictos Three"; font-family: "dicefontd4"; font-family: "dicefontd6"; font-family: "dicefontd8"; font-family: "dicefontd10"; font-family: "dicefontd12"; font-family: "dicefontd20" If you want to see these icons, you can go here:&nbsp; <a href="https://app.roll20.net/forum/permalink/892198/" rel="nofollow">https://app.roll20.net/forum/permalink/892198/</a> Note that the pictures in that thread are just previews of the font. You can see every single glyph included in the font (and the associated character you would need to put on your character sheet) at&nbsp; CSS Wizardry#Icon Fonts . Note that your list is missing the dicefontd30 font, and fontello. Also, the glyphs available from fontello use code points from the PRIVATE_USE_AREA block of Unicode, and don't normally map to actual characters.