[docs] Remove outdated references of .ttf and .woff#48399
Conversation
Deploy previewBundle size
Check out the code infra dashboard for more information about this PR. |
Co-authored-by: Albert Yu <albert@albertyu.co> Signed-off-by: Olivier Tassinari <oliviertassinari@users.noreply.github.com>
@ZeeshanTamboli Why? Those seems to work https://schalkneethling.com/posts/understanding-local-in-at-font-face-a-deep-dive/. A browser won't use a local font when declaring the font ( The main problem with this seems that users might not have the "right" font installed under that name. |
I misunderstood. Thanks for the explanation! |
Seeing .ttf and .woff still mentioned in the docs feels very clearly: "this is a 2019 project stuck in the past". Aren't those web font formats now very outdated? https://web.dev/articles/font-best-practices#use_woff2
We need to be coherent with https://mui.com/material-ui/getting-started/supported-platforms/#browser. So, hence the fix (faster to make a PR than to create an issue 😁).
Preview: https://deploy-preview-48399--material-ui.netlify.app/material-ui/customization/typography/#self-hosted-fonts
A continuation of #48398