Skip to content

Commit

Permalink
Include ghostscript fonts in windows distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
Cimbali committed Dec 11, 2023
1 parent b1caee3 commit 1a4687f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/draft_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,13 @@ jobs:
mingw-w64-${{ matrix.arch }}-python3-babel
mingw-w64-${{ matrix.arch }}-python3-watchdog
- name: Install ghostscript "base 35" fonts
shell: msys2 {0}
run: |
curl -L https://sourceforge.net/projects/gs-fonts/files/latest/download -o gs-fonts.tgz
tar xzf gs-fonts.tgz
mv fonts /mingw64/share/
- name: Install python-only dependencies
run: |
python3 -m pip install --disable-pip-version-check --upgrade pip
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def gtk_resources():
pathlib.Path('lib', 'gdk-pixbuf-2.0'),
pathlib.Path('share', 'poppler'),
pathlib.Path('share', 'themes'),
pathlib.Path('share', 'fonts'),
pathlib.Path('share', 'icons'),
pathlib.Path('share', 'glib-2.0'),
pathlib.Path('share', 'xml')
Expand Down

0 comments on commit 1a4687f

Please sign in to comment.