Figma Linux Font Helper
A fellow friend of mine was switching to Linux, and needed the Local fonts support for Figma
This project was a reverse engineer from the local font helper from Figma for App, it uses fc-list, and fc-cache for the fonts lists, and python for the webserver
- Install Python3 and Pip3 (Pip for Python3)
- Run
sudo pip3 install -r requirements.txt
- Run
python3 server.py
- Navigate to figma.com and try to use the local fonts.
You can also use docker-compose
in order to run it as a container, simply run docker-compose up
and let docker do it's magic
There's also a environment variable in the compose file, called FONTS_FOLDER
, use this variable if your font folder is mapped somewhere else, for example, on OSX you might want to use FONT_FOLDER=~/Library/Fonts docker-compose up
Rename .env.example
to .env
to define a custom value to FONTS_FOLDER
before build your containers with docker-compose
.
Big Thanks to the following contributors for improving this project! (NOT sorted by order of importance)
- arpanetus
- aanpilov
- marcosfreitas
- Wayne Steidley
- misotrnka