-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Contributor Developer Setup
- Prerequisites
- Required
- Highly Recommended
- Hack (Knack) font building prerequisites
- OSX
- Linux 0. FreeType 0. Harfbuzz 0. ttfautohint
- Sanity Tests
- Troubleshooting
- Resources
- The basics of what you need to get up and running :)
- Git
- FontForge
- FontForge python bindings
- Python 2 and/or Python 3
- ShellCheck
- Pyflakes (PEP8 compliance)
todo
- FreeType
- Harfbuzz
- ttfautohint
cd freetype-2.7
./configure
make
sudo make install
wget http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.3.4.tar.bz2
tar -xjf harfbuzz-1.3.4.tar.bz2
cd harfbuzz-1.3.4
./configure
make
sudo make install
sudo apt install g++
cd ttfautohint-1.6
./configure --with-qt=no --with-doc=no
make
sudo make install
ttfautohint --version
ttfautohint 1.6
ttfautohint -l 4 -r 80 -G 350 -x 0 -H 181 -D latn -f latn -w G -W -t -X "" -I -m "bin/scripts/Hack/Hack-Regular-TA.txt" Knack\ Regular\ Nerd\ Font\ Complete.ttf.tmp Knack\ Regular\ Nerd\ Font\ Complete.ttf
ttfautohint: unrecognized option '-H'
cause: Too old of a version of ttfautohint, works but doesn't have -H option
checking for HARFBUZZ... no
configure: error: Package requirements (harfbuzz >= 0.9.19) were not met:
No package 'harfbuzz' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables HARFBUZZ_CFLAGS
and HARFBUZZ_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
cause: harfbuzz not installed or not installed correctly
tashaper.h:29:19: fatal error: hb-ft.h: No such file or directory
#include <hb-ft.h>
^
compilation terminated.
cause: harfbuzz not installed or not installed correctly
ttfautohint: undefined symbol: hb_ft_font_create
cause: harfbuzz not installed or not installed correctly
This Wiki and the Readme contains a lot of information, please take your time to read the information.
If you run into any trouble, please start by looking in the FAQ and if you still need help you can visit the Gitter Chat.
There is a heavily detailed Changelog and Release changes.
Be sure to read the Contributing Guide before opening a pull request to Nerd Fonts.
If you have any questions about the Nerd Fonts usage or want to share some information with the community, please go to one of the following places: