Using fonts in Standalone HTML5
Posted: Tue Nov 10, 2020 3:38 pm
Hello!
I've been looking at other threads and trying to solve this problem, but to no avail. So I turn to you, wise ones!
I want to use a custom font (uwch.ttf) in my program. When I export the HTML5 standalone and run it, whenever it gets to the page where the font is, the whole thing stops working. So I am sure I am simply failing to use the font correctly. Can someone walk me through how to do it right?
I add the font file in 'copy files'. Just the file itself, with no extra path. I have also tried it with the path "/fonts/uwch.ttf" and "/resources/uwch.ttf"
in preopenstack, I wrote
start using font file (specialfolderpath("resources") & "/uwch.ttf")
I feel like this is supposed to be super easy, so I must just be missing something. Please help!
I've been looking at other threads and trying to solve this problem, but to no avail. So I turn to you, wise ones!
I want to use a custom font (uwch.ttf) in my program. When I export the HTML5 standalone and run it, whenever it gets to the page where the font is, the whole thing stops working. So I am sure I am simply failing to use the font correctly. Can someone walk me through how to do it right?
I add the font file in 'copy files'. Just the file itself, with no extra path. I have also tried it with the path "/fonts/uwch.ttf" and "/resources/uwch.ttf"
in preopenstack, I wrote
start using font file (specialfolderpath("resources") & "/uwch.ttf")
I feel like this is supposed to be super easy, so I must just be missing something. Please help!