Do not reply to this email. You can add comments to this bug at https://bugzilla.mozilla.org/show_bug.cgi?id=3512
--- Comment #44 from Zack Weinberg zweinberg@mozilla.com 2008-06-04 14:56:44 PDT --- There are nine base font-stretches, just as there are nine base font-weights. Thus, how about encoding the ordered list in both cases as an ASCII string, with this format: the first character is always a digit '1' ... '9', which is mapped to a font-weight or font-stretch in the obvious fashion, and subsequent characters are either '+' (meaning "bolder" or "wider") or '-' (meaning "lighter" or "narrower"). This is easy to process and also conveniently human-readable in debugging dumps. Won't do for getComputedStyle, but we're supposed to propagate gfx's actual choice of font back up for that anyway. And we already hang other strings off style structs, so it shouldn't be a memory management headache.
fonts-bugs@lists.fedoraproject.org