Modernize fontinfo
In particular, make FontInfo::scan
return a std::vector
object by value rather than as a pointer. This avoids some needless internal copying, makes memory handling more robust, and the code gets more readable, too.
In particular, make FontInfo::scan
return a std::vector
object by value rather than as a pointer. This avoids some needless internal copying, makes memory handling more robust, and the code gets more readable, too.