Docker-Image to work with fontcustom
- Runs as non-root with fixed UID 10777 and GID 10777. See howto prepare volume permissions.
- See howto use SystemD for named Docker-Containers and system startup.
If your svgs reside inside test-fonts/*.svg
you can create an icon font with:
docker run \
-i -t \
--volume $(pwd)/test-fonts:/rubyapp/fonts/ \
codeclou/docker-fontcustom:latest \
fontcustom config
docker run \
-i -t \
--volume $(pwd)/test-fonts:/rubyapp/fonts/ \
codeclou/docker-fontcustom:latest \
fontcustom compile
Your font will be generated in test-fonts/icons/*
.
- Dockerfile and Image is provided under MIT License
- FontForge is available as a whole under the terms of the GNU GPL