1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-16 03:54:01 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Galleon
2ffc8fcbca Fixes severe bug in TTF usage which caused programs crash intermittently/always due to non-zero initialized memory
Fixes bug (add clipping) which causes rendering of TTF fonts outside screen boundaries to wrap/crash
2014-10-12 00:45:02 -07:00
Luke Ceddia
160624a2b5 Reimplemented the _FREEFONT command
A new function has been added to parts/video/fonts/ttf/src.c, FontFree().
This takes an index into the fonts array, and calls FT_Done_Face() on the
handle, free() on the ttf_data then sets in_use to 0.

The sub__freefont() function calls FontFree(), and sets the appropriate font[]
element to NULL (after checking the passed font handle is valid, of course.
2014-10-06 19:05:05 +11:00
SMcNeill
eb43ceff23 Change to the STRCMP routine to correct < vs > bug. 2014-09-28 11:27:07 -04:00