cplusplus / cplusplus/draft

Use fonts suitable for on-screen reading

Open
#5,711 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3-Other
Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

The Latin Modern(?) font used is very thin and doesn't render very well on monitors with low PPI. Using fonts that have been hinted for low resolution displays might be better as it is easier on the eye.

There are many such free fonts like Tinos from Google and many other fonts that are already distributed with LaTeX or on fonts.google.com

I tried building with Tinos & Fira Mono and it looks fine to me. Attached sample patch.

--- std.tex.old	2022-08-05 11:31:11.295782333 -0400
+++ std.tex	2022-08-05 15:30:01.205108057 -0400
@@ -26,9 +26,10 @@
 \usepackage[final]{microtype}
 \usepackage[splitindex,original]{imakeidx}
 \usepackage{multicol}
-\usepackage{lmodern}
 \usepackage{xcolor}
-\usepackage[T1]{fontenc}
+\usepackage[TS1,T1]{fontenc}
+\usepackage{tinos}
+\usepackage[scale=0.8,lf]{FiraMono}
 \usepackage[pdftex, final]{graphicx}
 \usepackage[pdftex]{hyperref}
 \hypersetup{pdftitle={C++ Working Draft},

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with std.tex and review the current font package declarations alongside the supplied Tinos and Fira Mono sample patch. Build the draft and compare the resulting PDF on low-PPI displays; the work is done when the selected fonts improve on-screen readability without disrupting the document output.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.