Studying more of Papyrix... There's a singleton FontManager class wrapping the f...
alcinnz @alcinnz@floss.social
Studying more of Papyrix...
There's a singleton FontManager class wrapping the font libraries I've described earlier.
It has a method for loading a particular font-family by constructing a filepath verifying that exists (possibly suggesting that you should use another computer to rasterize a vector font it found), locates the different relevant font-styles in that directory loading each using the appropriate API, wrapping them in a font family, & registering it with the renderer.
1/2?