mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-25 03:32:02 +02:00
CI: Use fontforge March 2022 to create patched fonts
[why] Fontforge 2020 March or 20th Anniversary have problems to generate fonts with a lot of table entries. This is for example the massive entries for ligatures in Iosevka. We can not generate valid font files with that fontforge versions. We can not even detect (from Python side) if fontforge had problems. [how] We fixed fontforge itself upstream with https://github.com/fontforge/fontforge/pull/4883 That fix became available first with Fontforge March 2022 Release. We could use the AppImage or build from scratch, because no package is available on Ubuntu 20.04 or 22.04. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
4e00c14343
commit
f4f890960d
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@ -83,10 +83,23 @@ jobs:
|
||||
run: |
|
||||
sudo apt update -y -q
|
||||
sudo apt install software-properties-common -y -q
|
||||
sudo apt update -y -q
|
||||
sudo apt install fontforge -y -q
|
||||
sudo apt install python3-fontforge -y -q
|
||||
|
||||
# Ubuntu 20.04 has only fontforge release 2020, but there are some vital bugfixes in the 2022 release
|
||||
# This can be replaced with the ordinary apt package when Ubuntu updates, probably with 22.10?
|
||||
- name: Install FontForge (self built)
|
||||
run: |
|
||||
sudo apt install libjpeg-dev libtiff5-dev libpng-dev libfreetype6-dev libgif-dev libgtk-3-dev libxml2-dev libpango1.0-dev libcairo2-dev libspiro-dev python3-dev ninja-build cmake build-essential gettext libuninameslist-dev -y -q
|
||||
curl -Lv "https://github.com/fontforge/fontforge/releases/download/20220308/fontforge-20220308.tar.xz" \
|
||||
--output FontForge.tar.xz
|
||||
tar -xf FontForge.tar.xz
|
||||
cd fontforge-*
|
||||
sudo mkdir build
|
||||
cd build
|
||||
sudo cmake -GNinja ..
|
||||
sudo ninja
|
||||
sudo ninja install
|
||||
|
||||
- name: Setup additional dependencies
|
||||
run: |
|
||||
pip install fonttools --quiet
|
||||
|
Loading…
x
Reference in New Issue
Block a user