Using fonts in Standalone HTML5

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

Fonts in HTML5

Post by gsillevis » Tue Nov 17, 2020 1:11 pm

Hello!

Is it possible to use different fonts in HTML5? I've tried copying the non-stack files, but whenever I reach a card with a custom font, it crashes. Is it simply not possible?

Second question - is there a list of fonts that I can safely use?

Or if I'm just doing it all wrong, please let me know!

gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

Using fonts in Standalone HTML5

Post by gsillevis » Wed Nov 18, 2020 11:37 am

Hello!

Is it possible to use different fonts in HTML5? I've tried copying the non-stack files, but whenever I reach a card with a custom font, it crashes. Is it simply not possible?

Second question - is there a list of fonts that I can safely use?

Or if I'm just doing it all wrong, please let me know!

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Using fonts in Standalone HTML5

Post by FourthWorld » Wed Nov 18, 2020 2:59 pm

Duplicate threads merged here. Going forward please create one one thread per topic so folks know where to reply.

I don't have an answer to your question, but hopefully one of our other members will be able to help answer it for you. Now that it's in the appropriate section there's a better chance it can be found by those with an interest in this subject.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Re: Using fonts in Standalone HTML5

Post by williamdesmet » Tue Dec 22, 2020 2:27 pm

Dit you ever get the fonts working?

gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

Re: Using fonts in Standalone HTML5

Post by gsillevis » Tue Dec 22, 2020 3:15 pm

No. I emailed Support about it and they were very helpful. They mentioned that they were noticing an issue with some fonts. I tried a few things but in the end I gave up and decided that the default font was good enough for me.

AlbertAA
Posts: 41
Joined: Thu May 28, 2020 1:42 pm

Re: Using fonts in Standalone HTML5

Post by AlbertAA » Mon Apr 12, 2021 3:55 pm

Did you get an answer to the question " is there a list of fonts that I can safely use?"
I am starting with HTML5 and for some of the fields I need to change the standard font (I am using System) to a monospace one like Courier, Monaco or Lucida.
Any ideas?

gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

Re: Using fonts in Standalone HTML5

Post by gsillevis » Mon Apr 12, 2021 3:57 pm

No, I didn't. I just ended up using the default font.

Lucida or Courier might work, though, since they are pretty standard fonts.

kdjanz
Posts: 300
Joined: Fri Dec 09, 2011 12:12 pm
Location: Fort Saskatchewan, AB Canada

Re: Using fonts in Standalone HTML5

Post by kdjanz » Mon Apr 12, 2021 5:52 pm

Try searching the web for "web safe fonts" and you will find a pile of lists of what designers have run into...

https://www.w3schools.com/cssref/css_websafe_fonts.asp

This is a site that I trust, but the list looks pretty short to me. They recommend Courier as a monospaced font.

Good luck

Kelly

Post Reply

Return to “HTML5”