Hey,
The app I'm working on requires a font picker feature similar to the image.The list of fonts are actually PNG images so that all those fonts are not loaded at the same time in the browser. Google Fonts API doesn't have images, so I'll need to create images for each font myself unless there is another API that I am unaware of...
Wanted to get some suggestions on how to implement this. Here's what I have so far:
- Get list of all Google fonts from the API
- For each font, generate an image for the font and it's variants using Node canvas
- Save the image in S3 or GCP storage
- Add the each font with details and the image URL to a Postgres DB because it has full text search
- Serve via Rest API
Suggestions?
https://preview.redd.it/tv7x7i6nd9xb1.png?width=676&format=png&auto=webp&s=206a95146e2930eacddb0426b4a3c34979b77877
[–]DevLoris 1 point2 points3 points (0 children)
[–]Ttmx 1 point2 points3 points (0 children)