Show HN: Google Font preview images/thumbs
It's open sourced here: https://github.com/getstencil/GoogleWebFonts-FontFamilyPreviewImages
The problem we ran into in our app, is that when someone wants to import a Google Font into our design tool, we wanted to show them an example of what that font looked like _before_ they imported it.
But we didn't want to load hundreds (or thousands) of Google Fonts directly into our app (for performance reasons). So we built a script that renders Google Fonts as images that we can then embed.
Hope this is useful to anyone who finds themselves in a similar situation whereby they want to show what a Google Font looks like, but not actually load it into memory.
For reference, our app is called Stencil (getstencil.com). Hope this is useful to someone else :)
0 comments
[ 4.3 ms ] story [ 7.2 ms ] threadNo comments yet.