A
A
Anton Kurilov2018-02-23 16:19:19
css
Anton Kurilov, 2018-02-23 16:19:19

How to ignore system fonts on the site?

Smartphones often use a custom font set by the manufacturer. I also need the font on the site to be the same on all devices, because. sometimes the width of one character in the font is different (I know about the possibility of using a monospaced font).
Stupidly connecting the Roboto font from Google Fonts and using the code below in CSS does not help.

body {
font-family: 'Roboto', sans-serif;
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dom1n1k, 2018-02-23
@anton0kurilov

In general, no way. There is software in which there is even a setting "Ignore web fonts" - and this is the full right of the owner of the device.

A
alvvi, 2018-02-23
@alvvi

@font-face?
Google Fonts really uses them, it's not clear what your problem is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question