Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / TTF not working in HTML5

Author
Message
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 20th Dec 2016 23:49 Edited at: 20th Dec 2016 23:52
Has anyone got a TTF font other than default working in an HTML5 app? My app is crashing as soon as I try to display any text in a loaded TTF.

Let me whip up some example code....

Ok... Please try this:


Media attached.


AARGH! Sorry for double post. The forums are SO bugged lately. Why does nobody try to fix the problems that get reported in the forum bug thread?
V2 T1 (Mostly)
Phone Tap!
Uzmadesign

Attachments

Login to view attachments
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 21st Dec 2016 00:08
You're right it crashes for me as well. Definitely a bug. Here's the cryptic error message it spits out.

CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 21st Dec 2016 00:17 Edited at: 21st Dec 2016 00:21
Great! Thought I was going mad. Thanks for confirming.

It gives errors when uploaded to a web server too, so not a local host issue.
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Dec 2016 01:31
Strange, if I use the font you attached then it crashes, but if I use the one attached to this post then it works. Unfortunately I'm away from Wednesday so I don't think I'll get a chance to look into this until I'm back in January.

Attachments

Login to view attachments
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 21st Dec 2016 01:41
It's already Wednesday. Lol.

Thanks for taking a look Paul. I'll try to find some TTF tools in the meantime to see if I can clean it up. Maybe something is out of spec with the font.
V2 T1 (Mostly)
Phone Tap!
Uzmadesign

Login to post a reply

Server time is: 2024-05-07 12:36:21
Your offset time is: 2024-05-07 12:36:21