RoelN / Font-Falsehoods

Falsehoods programmers believe about fonts
101 stars 6 forks source link

Font weight/style/etc are automatically picked up by CSS #4

Closed Pomax closed 7 years ago

Pomax commented 7 years ago

I've lost count of the number of times where the concept of "CSS will use whatever font you say it should use, specifically for the property values you add to your @font-face declaration" is one step beyond intuitive, leading to questions around "why isn't my font turning bold" etc.

RoelN commented 7 years ago

Thanks for submitting! I know what you're saying, how can we stuff this back in a short sentence?

Pomax commented 7 years ago

hmm... maybe "My one font contains all styles and weights"? It sounds silly when you phrase it like that, but a quick glance at Stackoverflow suggests this is a genuine assumption by people who "just want to use a webfont".