W3C home > Mailing lists > Public > www-font@w3.org > January to March 2000

Baselines (was RE: Units, font sizing, and zoom suggestion for CSS 3)

From: Karlsson Kent - keka <keka@im.se>
Date: Mon, 31 Jan 2000 18:21:40 +0100
Message-ID: <C110A2268F8DD111AA1A00805F85E58DA68576@ntgbg1>
To: www-style@w3.org
Cc: 'www-font@w3.org' <www-font@w3.org>
Baselines
=========

(This is just an side remark message to my two parallel messages
on "font-size" and "em".)

The following baselines should be maintained for all text:

high baseline -- Used for drop caps, and for alignment of Devanagari and
		similar scripts. If no high baseline is declared by the
font,
		an approximation can for example be computed from the low 
		baseline and the ascent of the bounding box for capital H
		(or similar) over the low baseline, or the ascent of a
		"squarish" ideograph over the central baseline.

central baseline -- Exactly(?) halfway between the low baseline and the
		high baseline. Used for aligning ideographs, kana, and
Hangul
		syllables (probably for Ogham too).

low baseline -- Used for alignment of Latin, Greek, Cyrillic, Hebrew, and
		Arabic (and probably many other scripts too).

math baseline -- Used for aligning math expressions.  Should be at the
		center height of operators like +, =, <, and similar.  The
math
		baseline can be at about half ex height, or more often at
half
		cap height.  If a math basline is missing, use the central
		baseline as an approximation.

The distance between the high baseline and the low baseline is 
(should be) the cap height.

The central baselines of successive lines of text is separated by
the line-height property value.

Inline objects must be aligned according to the preferred alignment for
the inlined object.  E.g. an inline math expression should be aligned 
according to the math baseline (so the math baseline must be maintaned
for the surrounding, 'ordinary'm text).

		Kind regards
		(still trying to get this "spec.d/done right")
		/kent k
Received on Monday, 31 January 2000 12:22:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 June 2011 00:14:00 GMT