|
URGENT need help font problem |
duncan perham
Member #15,403
November 2013
|
Sorry for double post, but I really need some help in sorting out this font issue. On some machines all the fonts are missing some characters. I am not sure of exact cause as I have tried numerous graphic cards and every OS, its works perfect on every machine i have. The game lauches on steam in 7 hours, quite a lot of people may be affected by this. |
jmasterx
Member #11,410
October 2009
|
Have you tried explicitly using the GL backend? Agui GUI API -> https://github.com/jmasterx/Agui |
duncan perham
Member #15,403
November 2013
|
How do you do that? |
jmasterx
Member #11,410
October 2009
|
Just bitwise OR ALLEGRO_OPENGL to your new display flags: int flags = ALLEGRO_GENERATE_EXPOSE_EVENTS; if(!disableShaders) flags |= ALLEGRO_PROGRAMMABLE_PIPELINE; if(usingGL) flags |= ALLEGRO_OPENGL; if(fullscreen) flags |= ALLEGRO_FULLSCREEN_WINDOW; al_set_new_display_flags(flags);
Agui GUI API -> https://github.com/jmasterx/Agui |
Edgar Reynaldo
Major Reynaldo
May 2007
|
al_set_new_display_flags(ALLEGRO_OPENGL | ...); Or there is a way to change it using allegro.cfg, but I don't know how. As I mentioned in the other thread, try updating your allegro if it is not the most recent version. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
SiegeLord
Member #7,827
October 2006
|
I've implemented a workabout for a missing characters in a TTF font issue (possibly same issue as yours) in this pull request: https://github.com/liballeg/allegro5/pull/562 To use it, you'll obviously have to rebuild Allegro (I can help you out with that if you need help), and then add this to your code before you load TTF fonts: al_set_config_value(al_get_system_config(), "ttf", "lock_whole_page", "true");
"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
duncan perham
Member #15,403
November 2013
|
Thanks for the response, I will look into those things. Big problem at the moment is I cant find a computer that I can test it on where the text is missing. So its a bit difficult to know if Ive fixed it or not. First thing I will do is try to get it updated as much as possible. |
|