mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
This refactors FontManager to improve it in several ways: 1. Change all the dynamic memory management to use `new`, rather than mixing `new` and `vm_malloc` 2. Change the current font to use an index rather than a pointer 3. Take advantage of more C++11 features to avoid redundant lookups 4. Use case-insensitive name comparison 5. Avoid overflowing the `fnt->filename` field 6. Use `Warning` rather than `Error` in a non-critical error situation