0
votes

Using Google Fonts in a HTML file displayed via the WebView, if the font-style is set to italic, the font does not render italicised.

The same goes for the font-weight. Setting it to bold, the text renders normally.

This seems to only be the case for these custom fonts, with "system" fonts (e.g. Arial) rendering both bold and italic, when set.

I have pulled the files form the device using ADB and ran them locally, and in Chrome, they display correctly, both bold and italic.

1

1 Answers

0
votes

You have to check the boxes for bold and italic when using Google Fonts. Otherwise you will only get one version. Go back to your fonts page on Google Fonts and check the desired styles and grab the new link.