-
Notifications
You must be signed in to change notification settings - Fork 757
Description
As mentioned before in #459 and #239, I believe that it would be useful to have additional relative length units to refer to the nominal width or thickness of strokes in the glyphs of a font.
-
The base stroke thickness is the width of primary stems, usually straight vertical strokes.
UAs may determine the base stroke width from the median width of a vertical stem in a lowercase glyph with ascender, e.g. h (1?,/in x?).
In the cases where it is impossible or impractical to determine the base stroke thickness, a value of0.0625emmust be assumed. This is1pxfor the common default font size of16px.
-
The hair-line stroke thickness is the width of secondary stems, often straight horizontal or diagonal strokes. In some fonts, by design, it does not differ from the base stroke thickness.
UAs may determine the hair-line stroke width from the median width of a horizontal bar in a lowercase glyph, e.g. e (7?,\in x?).
In the cases where it is impossible or impractical to determine the hair-line stroke thickness, a value of1bsmust be assumed.
The exact names, definitions and abbreviations are of course open to discussion. I used to favor bs and hs or ds and us, but the s standing in for stroke may be too reminiscent of the one in s ‘second’ and ms ‘millisecond’.


