Graphite - Font selection
I have implemented font loading for Graphite, a work in progress vector editor written in the Rust programming language with Web Assembly. The system allows you to to choose any font or font variant (font style) from the large google fonts collection. View the code on GitHub.
Challenges with this MR included loading the list of fonts and variants from the google developer api, and parsing the json into typescript, having a shared font list for all of the font picking widgets and loading the loaded font file only once in Rust when there are multiple text layers with the same font.
I am doing lots of projects every projects all the time and I can't put them all on the website so I've made a blog.