The answers above are reliable and give an idea of ββthe subject, thanks to moallemi and Vaiden for those. We cannot use web fonts on Android 4.0, which is a shame.
The solution to our problem with webfonts on Android 4.2 is because in the CSS that Google uses to include the actual font files, they define the format. This means that in Google CSS they have code like:
src: url("http://some.google.server/some/path/FontName.ttf") format('ttf');
It turns out that fonts do not appear in WebView on Android 4.2 if the format() clause is present in CSS (or <style> node HTML). Therefore, the solution is simple; CSS should have a line like this:
src: url("http://some.google.server/some/path/FontName.ttf");
This makes the font work. This, however, does not mean a βsimpleβ solution. Since Google provides CSS containing this error, you need to create, enable / use and provide your own version of the CSS file, and if you do not want the Google object to update the location of its font files, you need to place the font files yourself.
source share