From 6cc5a2527af9b32cba12ec2dad3ee2da60718a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kj=C3=A6r?= Date: Sun, 3 Jan 2021 14:40:17 +0100 Subject: [PATCH] Update contribution instructions with `fontforge --script` Following issue #225 it seems fontforge has updated how it behaves after installing. For a consistent experience across various operating systems (Ubuntu, macOS, etc), it seems we get better results by pre-pending `fontforge --script ..` before running the `font-patcher` script. --- contributing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing.md b/contributing.md index 778a3af82..e6644989a 100644 --- a/contributing.md +++ b/contributing.md @@ -20,7 +20,7 @@ * Make sure to update the correct subfolders for each font style (e.g. `src/unpatched-fonts/xyz/bold/{BOLD FONT FILES HERE}`) ### 2. Execute basic testing * Do a basic test with the new font to ensure it patches correctly and generates a new font file, e.g. - * `./font-patcher src/unpatched-fonts/XYZ/XYZ.ttf --complete` + * `fontforge --script ./font-patcher src/unpatched-fonts/XYZ/XYZ.ttf --complete` * Make sure to then delete this new font file if it is in the repository (all patched fonts should be generated in the `patched-fonts` directory) ### 3. Run build scripts * When fairly satisfied the font patches correctly, run the following scripts in this order: @@ -41,7 +41,7 @@ * Try to make subfolders for each font style (e.g. `src/unpatched-fonts/xyz/bold/{BOLD FONT FILES HERE}`) ### 3. Execute basic testing * Do a basic test with the new font to ensure it patches correctly and generates a new font file, e.g. - * `./font-patcher src/unpatched-fonts/XYZ/XYZ.ttf --complete` + * `fontforge --script ./font-patcher src/unpatched-fonts/XYZ/XYZ.ttf --complete` * Make sure to then delete this new font file if it is in the repository (all patched fonts should be generated in the `patched-fonts` directory) ### 4. Run build scripts * When fairly satisfied the font patches correctly, run the following scripts in this order: