|Freetype Error Code 85|
It always worked with pevious versions of this project, which I haven't modified.
I run into problems loading a font.
Looking with a debugger and then in the Allegro Log I see:
font E D:_user\Pkrcel\coding\QTC_Projects\Allegro\addons\ttf\ttf.c:755 al_load_ttf_font_stretch_f [ 24.46295] Reading D:/_user/Pkrcel/coding/QTC_Projects/_oosb/build-Alleg-OOP-shooter/_resources/fonts/Carton_Six.ttf failed. Freetype error code 85
The font is there and it was usually loaded.
I ofund in Freetype reference
FT_ERRORDEF_( Invalid_Stream_Operation, 0x55, \ "invalid stream operation" ) FT_ERRORDEF_( Divide_By_Zero, 0x85, \ "division by zero" )
I don't know if the 85 is exadecimal or converted...
Where should I look to debig the operation? I actually don't know whats wrong.
Damn, I've built (with oh-so-much-sweat) a debug version of Freetype and found out that Init_Face failed due to "not a valid truetype font"...WTH?
Well, checking my Resources Directory I found that it gone mostly corrupt for some uninexplicable reason...restoring a backup did the trick but DAMN!