Tim <tim@mail.localhost.invalid> wrote:
[color=blue]
> This isn't typesetting, where there's
> actually a standard bolding effect (specified amount of boldness, if
> you could call it that), and you know the fonts that you have at your
> disposal. CSS may allow you to specify a numerical figure for the
> font weight, but I don't see any specified relationship with its
> size.[/color]
The values of font-weight in CSS, from 100 to 900, or keywords that are
mapped to such numeric values, correspond to an established scale in
typography. But as you remark, the scale has no specified effect on any
dimension, and the effect in practice varies by font family and size.
Thus, despite the use of numbers, it's really just an ordinal scale (in
the weak sense that smaller numeric value implies smaller or equal
boldness).
In HTML, there is only one kind of boldness that you specify, using <b>
markup, and it is natural to expect that it maps to font-weight: bold,
which means font-weight: 700. Or is it? Another interpretation would be
to map it to font-weight: bolder, and this would mean that
<b><b>...</b></b> could be (depending on font) bolder than bold, i.e.
bolder than <b>...</b>.
Whatever method you use to bold text in HTML or CSS, it means selecting
(when possible) a bold font as designed by the font designer. It's up to
the designer to decide what boldness means, and it may well mean
different things to different characters.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html