After reviewing the Material UI documentation, it appears that users are responsible for loading the Roboto font:
Despite not seeing any explicit loading of the Roboto font in their example project (such as the vitejs one), when running npm run dev
, the text displays correctly with the Roboto font.
Curiously, there is no sign of the Roboto font being loaded in the index HTML page, neither a
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/>
in the header nor an @font-face
in the inline styles.
This raises the question of where exactly does the Roboto font come from? Could it be included by default on modern devices like my Ubuntu laptop running Firefox?