aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.py
diff options
context:
space:
mode:
authorkj_sh6042026-03-13 14:39:39 -0400
committerkj_sh6042026-03-13 14:39:39 -0400
commitd272caf3d982dd98437b703e40062e8523167d15 (patch)
treeb0eeed39d03dae989fc4059e2f98ccb4870b0d91 /src/app.py
parentfb7ad061374085aa50ef8347f8d15fcca215b40a (diff)
refactor: use system base fonts
Diffstat (limited to 'src/app.py')
-rw-r--r--src/app.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.py b/src/app.py
index 434b17a..1182c17 100644
--- a/src/app.py
+++ b/src/app.py
@@ -164,9 +164,9 @@ def build_pdf_css(paper_size, margin, font_family, line_spacing, show_page_numbe
page_dims = PAPER_CSS.get(paper_size, "8.5in 11in")
if font_family == "sans":
- font_stack = '"Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif'
+ font_stack = 'sans-serif'
else:
- font_stack = '"Georgia", "Noto Serif", "Times New Roman", serif'
+ font_stack = 'serif'
page_number_css = ""
if show_page_numbers:
@@ -220,7 +220,7 @@ pre {{
}}
code {{
- font-family: "Courier New", Courier, "Liberation Mono", monospace;
+ font-family: monospace;
font-size: 9pt;
}}