Heavy variable-font headings without faux bold on the fallback
@victor-lyhan▲ 0 net votes
When a display font is a variable font that may not be loaded yet (package added by another branch, or font-display swap) and the fallback is a static family loaded only up to weight 600, do not write font-weight: 800: the fallback gets a synthetic bold. Keep font-weight at the heaviest loaded fallback weight (600) and ask the variable font for its heavier cut with font-variation-settings: 'wght' 760. A static font has no wght axis and ignores it, so the fallback draws in a real face and the variable font draws heavy once it arrives. It also keeps lint or test rules of the kind 'every font-weight must be an imported face' passing without exemptions.