Skip to content

Commit 6ce3064

Browse files
authored
Merge PR#164 to draft-1.4-R16 from ASPRSorg/courier-font
Font fixes for fixed-width (code) rendering Add missing Courier font Make Times font explicit. Reduce font size from 12pt to 11pt
2 parents bd76ca3 + d2e60b8 commit 6ce3064

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/pdf.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
run: |
2020
python3 --version
2121
sphinx-build --version
22+
DEBIAN_FRONTEND=noninteractive apt-get update -y
23+
DEBIAN_FRONTEND=noninteractive apt-get install texlive-fonts-recommended -y
2224
- name: Lint .rst files
2325
run: |
2426
if find . -name '*.rst' | xargs grep -P '\t'; then echo 'Tabs are bad, please use four spaces in .rst files.'; false; fi

source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ def get_git_revision_short_hash():
136136
137137
\usepackage{titling}
138138
\usepackage{fancyhdr}
139+
\usepackage{times}
140+
\usepackage{courier}
139141
\makeatletter
140142
\fancypagestyle{normal}{
141143
\fancyhf{}
@@ -249,7 +251,7 @@ def get_git_revision_short_hash():
249251

250252
# The font size ('10pt', '11pt' or '12pt').
251253
#
252-
'pointsize': '12pt',
254+
'pointsize': '11pt',
253255

254256
# Other document class options - ensure uniform header/footer
255257
'classoptions': ',oneside,openany',

0 commit comments

Comments
 (0)