diff options
author | Rasmus Andersson <rasmus@notion.se> | 2019-01-05 23:00:00 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2019-01-05 23:00:00 +0300 |
commit | 718930e07f8ee60f54c9a92e6ed86d41a0ddcb2a (patch) | |
tree | 5977f0ab067603d4591cc64f432d19e344acbfd7 /init.sh | |
parent | dee86b504c021bd465e124360a035d72e7abaa6d (diff) | |
download | inter-718930e07f8ee60f54c9a92e6ed86d41a0ddcb2a.tar.xz |
patch fonttools instead of ufo2ft
Diffstat (limited to 'init.sh')
-rwxr-xr-x | init.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -121,13 +121,14 @@ else date '+%s' > "$UPDATE_TIMESTAMP_FILE" fi - # patch ufo2ft [BUG #110] - P1_FILE="$VENV_DIR/lib/python/site-packages/ufo2ft/outlineCompiler.py" + # patch fonttools [BUG #110] + P1_FILE="$VENV_DIR/lib/python/site-packages/fontTools/misc/psCharStrings.py" P1_BACKUP="$P1_FILE.orig" if [[ ! -f "$P1_BACKUP" ]]; then echo "Patching $P1_FILE (backup at $P1_BACKUP)" mv "$P1_FILE" "$P1_BACKUP" - patch "$P1_BACKUP" -o "$P1_FILE" -u -i misc/ufo2ft-2.5.0-outlineCompiler.patch + patch "$P1_BACKUP" -o "$P1_FILE" -u -i \ + misc/fonttools-3.34.2-psCharStrings.patch fi |