Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fonts suitable for on-screen reading #5711

Open
acbits opened this issue Aug 5, 2022 · 5 comments
Open

Use fonts suitable for on-screen reading #5711

acbits opened this issue Aug 5, 2022 · 5 comments

Comments

@acbits
Copy link

acbits commented Aug 5, 2022

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},

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 5, 2022

Can you attach a sample screenshot, too? Note that we have quite complex typesetting requirements (e.g. requiring matching italics, smallcaps, and harmonizing sans and monospace fonts), so I'm not particularly inclined to get too wild in this regard.

@acbits
Copy link
Author

acbits commented Aug 5, 2022

Monitor_RGB_93PPI_subpixel_antialiased

@acbits
Copy link
Author

acbits commented Aug 5, 2022

I have attached a screenshot. Taken on a monitor with RGB layout & 93 PPI. If your monitor layout is not RGB, it will look fuzzy.

The fonts that I used are only a suggestion. If you know of other well hinted fonts, you may use them.

@acbits
Copy link
Author

acbits commented Aug 5, 2022

std-tinos-firamono-0.8.pdf
Also, attached the generated pdf.

@jwakely
Copy link
Member

jwakely commented Aug 6, 2022

The ampersand looks a bit weird there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants