简体   繁体   中英

Is there any need to include some fonts in head or are they default?

For my own case, is there any need to add the Roboto font as a link in the head tag or is already default in Chrome?

I'm interested only for Chrome.

Browsers don't install fonts they just reference what's available. Available being the keyword is different depending on the OS & Device the browser runs on.

Chrome on an Android device will likely have access to Roboto as Google uses it heavily for Material. However, Roboto is not installed by default on most desktop operating systems or iOS unless the user has made a choice to do so.

If you want to guarantee any font to be available you need to include it in your package or reference the font from a CDN like fonts.google.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM