[Bug 3512] Implement font-stretch property

bugzilla-daemon at mozilla.org bugzilla-daemon at mozilla.org
Wed Mar 5 06:08:17 UTC 2008


Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #31 from David Baron [:dbaron] <dbaron at mozilla.com>  2008-03-04 22:08:03 PST ---
The question is whether font-stretch is more like font-style (normal / oblique
/ italic) or font-weight (normal / bold / etc.).  For font-style if the
font-family given doesn't have an italic font, the family is supposed to lose. 
For font-weight, the closest weight available is chosen.  The CSS2 spec (which
describes font-stretch) doesn't say anything at all, but I suspect font-stretch
ought to act more like font-weight (in other words, I agree with comment 29). 
(See http://www.w3.org/TR/CSS21/fonts.html#algorithm for the most current work,
but in a spec that doesn't have font stretch.  Also see
http://www.w3.org/TR/css3-fonts/#font-properties and
http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#algorithm although
neither answers the question despite the specs having font-stretch.  I haven't
actually checked if any of this is how things really work.)

That said, implementing it would let authors get to fonts that they can't
currently get to, and we probably should do so for that reason.  But it's not a
top priority (which bug was filed first doesn't imply which bug is more
important to fix), and we generally try to avoid implementing things on only
one platform.


-- 
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the fonts-bugs mailing list