void UnloadFont(FontDescriptor * fDesc)
LoadFont()
or ParseFont()
processing. If the font was loaded via LoadFont()
, releases the FontDescriptor and unloads the file image, releasing the memory it occupied. If you loaded the font file image yourself and called ParseFont()
, UnloadFont()
releases the FontDescriptor. In that case, you must unload/release the font file image yourself.
Because TextCel structures contain a reference to a FontDescriptor, you must delete all TextCels that reference a FontDescriptor before you call UnloadFont()
for that descriptor.
LoadFont
, ParseFont