How do I use font for html5

Get help using Construct 2

Post » Sun Jan 10, 2016 1:04 am

Hi, I'm doing a game for HTML5 and I have my own server (ubuntu 14.04) to install it. When I do test on it with another computer, my font are never shown. Even if my game work perfectly I tried this:
https://www.scirra.com/tutorials/557/us ... ur-project

Also I tried the events ''Font Face'' but won't working either. I only see the standard font and I really don't know what to do to solve this. I heard about appmanifest.json and things like that.

Also, on my main computer (where the font is install) I see the fonts and the game is exactly what it must be.

Thank you
(If you don't understand my english, please let me know it)
B
3
Posts: 4
Reputation: 183

Post » Tue Jan 12, 2016 8:41 am

Have you tried to use just web font?
It will convert your font to online font and you don't really need to install that particular font in your pc.

Event - Every Tick
Action - (Text object) set web font > "(name of the font)" and from "(font URL)"
B
9
S
2
G
1
Posts: 13
Reputation: 669

Post » Tue Jan 12, 2016 11:24 pm

What does «Every tick» mean ?

I tried with another computer with Chrome, that works, but in Mozilla Firefox, it's really slow to the font to load (on the same computer).
Maybe, coincidence.

Thanks for the answer !
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests