I have a font I created myself that I want to use. I've noticed that the
@import CSS command only works if the player has the font installed on their system. I hope to sell my game at some point, so this wouldn't work.
Is there any way to get custom fonts to work? Would I have to host the font on my own sever and use
@import? Would this even work?
Thanks!
Comments
The [Harlowe] Custom Font? thread should answer your question if you are using Harlowe.
The information within the linked thread should also work for SugarCube.
Thanks.
The thread doesn't state whether wrapping the game in an executable and running it through Webkit will allow the user to see custom fonts. I would think this would work since WebKit is basically a Web browser.
I've succeeded in wrapping the game just now, so I will test it.