Vector font library with text function

Is there a library similar to GitHub - apshu/HersheyFonts: Hershey font library with built in fonts and low level line and stroke iterators, perhaps with a better looking font than Hershey? I need a function which, given a text, produces a list of strokes or contours needed to render it.

A while ago, i wrote a library to create banners with custom fonts.
The library is called fontpreview and you can create banners with fonts and save them in the format you want.
Maybe it can be for you.

references:

GitHub: GitHub - MatteoGuadrini/fontpreview: Python library for font previews
Docs: Welcome to fontpreview’s documentation! — fontpreview 1.1.0 documentation

1 Like