View Single Post
Old 04-30-2023, 05:44 AM   #10
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,160
Karma: 105212035
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
font-size is best in em, 1em is a standard size for body text. Usually renderers assume 12pt = 1em exactly, so mostly pt also works. Never use pixels, rem, or physical size for font-size.

Note different font families can be larger or smaller than say Times Roman at the same size. Also different similar fonts (serif, sans, monospace, etc) can be a different size at same size setting.
There are loads of different monospace (AKA typewriter or console) fonts suitable for displaying/rendering code.
Quoth is offline   Reply With Quote