summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-10-04 21:06:03 -0400
committerJonathan Corbet <corbet@lwn.net>2018-10-07 11:16:50 -0400
commit44ba0bb4f2ad96246cb1f20c041f4d062cf6c4c2 (patch)
treedf7d9d195cc9589b8dafe6ec3bdb4d674f62fa19 /Documentation/conf.py
parent31527da5d673ed16255869b6d0f209285b8b0981 (diff)
docs: improve readability for people with poorer eyesight
My eyesight is not in good shape, which means that I have difficulty reading the online Linux documentation. Specifically, body text is oddly small compared to list items and the contrast of various text elements is too low for me to be able to see easily. Therefore, alter the HTML theme overrides to make the text larger and increase the contrast for better visibility, and trust the typeface choices of the reader's browser. For the PDF output, increase the text size, use a sans-serif typeface for sans-serif text, and use a serif typeface for "roman" serif text. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Acked-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index b691af4831fa..89946361e545 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -259,7 +259,7 @@ latex_elements = {
259'papersize': 'a4paper', 259'papersize': 'a4paper',
260 260
261# The font size ('10pt', '11pt' or '12pt'). 261# The font size ('10pt', '11pt' or '12pt').
262'pointsize': '8pt', 262'pointsize': '11pt',
263 263
264# Latex figure (float) alignment 264# Latex figure (float) alignment
265#'figure_align': 'htbp', 265#'figure_align': 'htbp',
@@ -272,8 +272,8 @@ latex_elements = {
272 'preamble': ''' 272 'preamble': '''
273 % Use some font with UTF-8 support with XeLaTeX 273 % Use some font with UTF-8 support with XeLaTeX
274 \\usepackage{fontspec} 274 \\usepackage{fontspec}
275 \\setsansfont{DejaVu Serif} 275 \\setsansfont{DejaVu Sans}
276 \\setromanfont{DejaVu Sans} 276 \\setromanfont{DejaVu Serif}
277 \\setmonofont{DejaVu Sans Mono} 277 \\setmonofont{DejaVu Sans Mono}
278 278
279 ''' 279 '''