Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.infosystems.www.authoring.stylesheets > #7979

font sizes

From Ivan Shmakov <ivan@siamics.net>
Newsgroups comp.infosystems.www.authoring.stylesheets, comp.misc
Subject font sizes
Date 2019-01-18 15:15 +0000
Organization Aioe.org NNTP Server
Message-ID <87va2m2e0o.fsf_-_@violet.siamics.net> (permalink)
References (3 earlier) <B9K%D.79624$QQ5.59437@fx45.iad> <20190117184830.7f5c588f.rsw@therandymon.com> <q1qa8c$uhk$2@dont-email.me> <gabotfF4vs9U1@mid.individual.net> <q1qtlm$8sj$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


>>>>> Dan Espen <dan1espen@gmail.com> writes:

	[Cross-posting to news:comp.infosystems.www.authoring.stylesheets,
	as, so far as I can tell, Web styling topics belong there.]

[...]

 > How to size things is admittedly a hard problem.  Lots of web sites
 > fail with fonts set too large.  Most GUI languages lay out screens
 > in pixels.

	Regardless of how it's done, designing a GUI to accommodate for
	the sheer variety of user requirements, preferences and expectations
	out there takes a truly incredible amount of effort.

 > HTML supports sizes in mm, but lots of sites use px anyway.

	However, CSS 2.1 requires for the following equalities to hold:

    72pt = 96px = 25.4mm = 2.54cm = 1in.

	When rendering a document for a high-resolution device (such as
	a 600 dpi printer), one of the "physical" units (mm, cm, in) is
	made true (subject to the user-specified scale) and, e. g., 1px
	effectively becomes 1/96 in.

	Conversely, for a low-resolution device, 1px is one device's
	pixel and 1in is taken to mean "96 pixels" -- irrespective of
	the pixel's physical dimensions.

 > You still need to consider resolution and screen size to figure out
 > the ideal size.

	Yes.

	The CSS "media query" constructs allow for the parts of the
	layout specification to be conditionalized based on the
	currently available screen estate, but it still remains possible
	for the user to use a screen configuration that doesn't fit
	anything the .css author has thought of.

	Personally, I just go with the Gutenberg's example and specify
	"max-width: 72ex" for the "prose" sections of my Web documents.
	(But please ping me when they start printing [non-visual] novels
	in single-column landscape!)

-- 
FSF associate member #7257  np. Troll (Felix Culpa) -- Slaygon and Reyn

Back to comp.infosystems.www.authoring.stylesheets | Previous | Next | Find similar | Unroll thread


Thread

font sizes Ivan Shmakov <ivan@siamics.net> - 2019-01-18 15:15 +0000

csiph-web