Skip to content

Commit

Permalink
Install DejaVu fonts for Windows
Browse files Browse the repository at this point in the history
Related to #821.
  • Loading branch information
liZe committed Mar 10, 2019
1 parent f8e1f28 commit bac4ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ matrix:
before_install:
- choco install python
- choco install msys2
- choco install dejavufonts

install:
- powershell -executionpolicy bypass "C:\tools\msys64\usr\bin\bash -lc 'pacman -S mingw-w64-x86_64-gtk3 --noconfirm'"
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/testing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# Lists of fonts with many variants (including condensed)
if sys.platform.startswith('win'):
SANS_FONTS = 'Arial Nova, Arial, sans'
SANS_FONTS = 'DejaVu Sans, Arial Nova, Arial, sans'
MONO_FONTS = 'Courier New, Courier, monospace'
elif sys.platform.startswith('darwin'):
# Pango on macOS doesn't handle multiple fonts
Expand Down

0 comments on commit bac4ea9

Please sign in to comment.