Hi all,
http://www.dafont.com/gothic-pixel.fontTried unsuccessfully uploading this font into Twine with:
[quote] .passage {
font-family: "gothic_pixel", sans-serif;
}
I've tested this with other fonts and they work fine. No idea why. I've tried Chrome/Firefox but it's not appearing and the font import file is a .tff
Comments
This may be why the same font imported into Twine using the Story > Import Font feature does not work when applied to passage text.
I've just tried a few other free fonts online and a number also seem to not work. I'm guessing there are certain kinds of fonts (nothing to do with whether they are .tff etc) that, for some reason I can't discern, do not work with Twine despite functioning as fonts.
Twine tries to make the font a "webfont" (one that can be used by CSS), this is also what the fontsquirrel website is also trying to do. My guess is that something about the font makes this impossable.
I found a way to get around the problem is to first use this website to convert the font from TFF into WOFF and then to import the new gothic_pixel.woff file into your Twine story instead.
The following example worked for me.
(note: I am using TWEE formatting for the example and have excluded the gothic_pixel passage as it is too large) I hope this helps.