mirror of https://github.com/mosra/magnum.git
Browse Source
With StbTrueTypeFont no longer being embarrassingly slow due to a stupid error, the MagnumFont plugin doesn't really provide any advantage anymore. Originally I thought I'd update it to not be forcibly relying on a TGA format and maybe add kerning support, but the image + text format is extremely inefficient compared to basically anything else and so I don't see a point in supporting it further. Marking it as deprecated should also hint to people that using this thing is not a good idea. The MagnumFontConverter plugin was also the only user of the AbstractFontConverter APIs, which right now are the last that didn't go through a STL cleanup process. I plan to make a converter plugin for font "minification" using HarfBuzz subsetting functionality, and not having to support anything else that relies on the outdated APIs will make the font converter API updates a bit easier. Finally, the MagnumFont plugin was also the last one that directly instantiated the TgaImporter plugin, instead of going through AnyImageConverter. Marking it deprecated allows me to deprecate direct instatiation in the remaining plugins as well.master
12 changed files with 74 additions and 29 deletions
Loading…
Reference in new issue