A collection of sample Alright Fonts for using with PicoVector on Pimoroni RP2040 and RP2350-based microcontroller boards.
These fonts are all taken from Google Fonts: https://fonts.google.com/
They are converted on the fly with Alright Fonts: https://github.com/Gadgetoid/alright-fonts/tree/feature/16bit-afinate
You will find converted fonts available for download in the latest release: https://github.com/Gadgetoid/alright-fonts/releases/latest
To use this repository:
- Clone this repository:
git clone https://github.com/pimoroni/picovector-fonts
- Grab submodules:
cd picovector-fonts
thengit submodule update --init
- Run
pip install -r requirements.txt
(you may need a virtual environment) - Run
./convert
to convert everything ingoogle-fonts/
To add your own:
- Grab a zipped otf/ttf font from https://fonts.google.com/
- Unzip it
- Copy the directory and all files into
google-fonts/
- Run
./convert
and test your font! - Raise a PR with your addition!
Your PR should include the fonts and their license files.
The contents of any static
directories should be moved to the main font directory.
-
error: externally-managed-environment
means you need to be installing your Python packages into a virtual environment. You can set one up withpython3 -m venv .venv
and activate it withsource .venv/bin/activate
. -
If you get a
zip: command not found
error, you might need tosudo apt install zip
and run./convert
again.