Re: [csswg-drafts] [meta] [css-fonts] Criteria for adding new generic font families (#4910)

Just for the record, `font-family: math` is important as math formulas generally use special fonts differing from the surrounding text in order to produce good rendering. The criteria given in the spec (presence of an OpenType table for math layout purpose) is good enough to distinguish them from text fonts. Existing math fonts as WOFF are generally large, making downloadable fonts less attractive. Users are also willing to configure their preferred font for math, so a generic name is useful. Currently, WebKit has a hardcoded font-family list of math fonts in the UA sheet while Gecko uses an internal "math" lang to make the math font configurable like other languages. MathML Core relies on `font-family: math` as a more standard approach covering that use case.

-- 
GitHub Notification of comment by fred-wang
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4910#issuecomment-618221131 using your GitHub account

Received on Thursday, 23 April 2020 07:06:25 UTC