SSteven Posted October 22, 2018 Share Posted October 22, 2018 (edited) I have written an HTML page containing Google Fonts. When this HTML page is accessed on a Windows PC, the various Google Fonts used display differences correctly. However, when I access the web page on Android, all the used Google Fonts appear the same. I there a problem with HTML pages containing Google Fonts accessed on Android? If so, how do I fix it? Please note that I'm not asking about Android apps. Only about HTML pages accessed on Android. In fact, even as far as standard fonts are concerned (non-Google fonts), an HTML page displayed on Android , renders only basic San-serif, basic Serif and basic monospace. No other font is recognized. Therefore, what should the approach be for font-selection for HTML pages, in general? Thanks. Edited October 22, 2018 by SSteven Add details Link to comment Share on other sites More sharing options...
Funce Posted October 22, 2018 Share Posted October 22, 2018 Usually font discrepancies indicate that the fonts specified on a website, aren't installed on the machine you're viewing it on. This is usually prevalent if you're specifying a font, but not including the font library on your webpage for those that don't have it. However, you stated that you're using google fonts. How are you linking these? Can you create a small example of this? I suspect that your link may have something wrong with it (Maybe a typo or something). Link to comment Share on other sites More sharing options...
SSteven Posted November 3, 2018 Author Share Posted November 3, 2018 The page displays its fonts correctly on a PC, but Google fonts (or even standard web fonts for that matter) aren't displayed correctly on Android. This indicates the syntax used to specify the fonts is correct; else it wouldn't have worked on PC. The requested fonts don't appear when the HTML page is invoked on Android. Link to comment Share on other sites More sharing options...
dsonesuk Posted November 3, 2018 Share Posted November 3, 2018 (edited) You don't have a setting on device or browser/s that prevents custom web fonts for speed purposes? You might be using a speed booster app that prevent access and so use device/browser defaults. Edited November 3, 2018 by dsonesuk Link to comment Share on other sites More sharing options...
SSteven Posted November 9, 2018 Author Share Posted November 9, 2018 As far as I am aware, my Android tablet and the browser are all using defaults. Not aware of any speed booster app. Link to comment Share on other sites More sharing options...
SSteven Posted November 30, 2018 Author Share Posted November 30, 2018 I've just discovered I had made a syntax error when linking to the google fonts. On correcting it, the google fonts work perfectly on both PC as well as Android. https://jsfiddle.net/SSteven/83dkauht/2/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now