gennyble / textual

Text Rendering as a Service
Other
9 stars 1 forks source link

include Cabin-Regular.ttf and webfont.key or find alternative #23

Open nepeat opened 2 years ago

nepeat commented 2 years ago

hi, i was missing those files when compiling :>

gennyble commented 2 years ago

Drop Cabin-Regular.ttf in the root of the repository. Here's a direct link to a download from the Cabin GitHub: https://github.com/impallari/Cabin/blob/master/fonts/TTF/Cabin-Regular.ttf?raw=true

Below are instructions on getting an API Key for Google's Font service. It's been put in the Readme as well.

Textual expects webfont.key in the src directory. It's just a text file with an API key for Google's Web Fonts API. You can get one here. The file should not have a trailing newline.


I'll leave this issue open until I implement a better default font system than just expecting Cabin in the root.