Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Eventual failure to load a font — Gideros Forum

Eventual failure to load a font

chipster123chipster123 Member
edited March 2012 in Bugs and issues
What's the best-practice for loading fonts? I'm getting an error eventually when loading a font within a scene. Maybe it's the way I'm using scenes. The application is the one mentioned here http://www.giderosmobile.com/forum/discussion/528/sudden-need-for-an-user-interface-ui#Item_9 . Each button on a GUI causes the switch to another scene. So there can be a lot of rapid scene changes as the user navigates the application. Fonts are loaded on scene change. Eventually, I get a failure to load a font like:
fonts:/Aclonica-42.txt: No such file or directory.
But this exact font (path and all) is used by this scene successfully many times before it fails.
Any ideas? Should I be loading all the fonts once at the start of the application and reference them from a table?
This happens for both TTFonts and BMFonts.
Tagged:

Comments

Sign In or Register to comment.