Skip to content

Commit 80e5e00

Browse files
committed
Include common default font paths
paths available in debian distros with apt-get install tts-dejavu
1 parent 88f435d commit 80e5e00

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

settings.py

+7
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,13 @@ def get_from_env(var, default):
292292

293293
PAGINATION_DEFAULT_WINDOW = 3
294294

295+
# apt-get install ttf-dejavu
296+
DEFAULT_REGULAR_FONT = "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"
297+
DEFAULT_BOLD_FONT = "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf"
298+
299+
ZEUS_RESULTS_FONT_REGULAR_PATH = DEFAULT_REGULAR_FONT
300+
ZEUS_RESULTS_FONT_BOLD_PATH = DEFAULT_BOLD_FONT
301+
295302
# useful trick for custom settings
296303
try:
297304
from local_settings import *

0 commit comments

Comments
 (0)