I am having an issue with customizing a WordPress template.
When I try to apply a Google Web font to a phone number in the header (as in dev [dot] beyondbbd [dot] com), Google fonts don't seem to be applied to the phone number (or all across the site for that matter) in IE9.
Any ideas about this? Is there an easy fix that I'm missing?
Thanks in advance.
-Nick
Try rearranging your css files so that the Google stylesheet comes before your own stylesheet which calls the fonts.
Related
I am putting together an email template which includes the Montserrat font; however, it seems to render just about everywhere without issue except for gmail via a browser (Firefox/Chrome)!
The font renders as it should in my previews, iPad (mail), and Android (gmail). Has anyone come across this issue or is able to confirm that this font is disallowed via the web client to Gmail?
I have tried both the font-family (as per the Google Font's site instructions) and import methods of including the font with similar results as mentioned above.
Thank you in advance!
Gmail does not work with web fonts like Google fonts. Lack of web font support is an issue with desktop Outlook 2007-2019 as well.
You will need to choose a web safe font as a backup. I created a list of supported fonts:
https://jsfiddle.net/wallyglenn/s94weLqj/
Good luck.
Stackoverflow wants posted code before I could post the link
of fonts that work in Gmail I maintain on JSFiddle.
I felt a list of fonts might be useful in choosing a fallback font.
font-face property will not work in web gmail.. use font-family instead. you can visit below link to check which css property works in mail for email template. hope this helps . thanks
https://www.campaignmonitor.com/css
I am using Chrome for a very long time now and I happy with it. Unfortunatly they discontinued the DirectWrite option. This is hell for people that aren't using Clear type fonts. Most fonts are messy now.
I want a Stylish sheet that replaces all website fonts with Arial. So I want every website to display the Arial font. I don't know how to do it.
Thanks! :-)
I am not sure whether you can do this through chrome settings, but I found a great extension FontChanger that does the trick
I am using two Google Web Fonts at my website. They are Roboto Slab and Fauna One. They look good in latest Mozilla Firefox and IE10 but for some reason they look horrible in Google Chrome.
They are linked to my website as follows:
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Fauna+One' rel='stylesheet' type='text/css'>
It took me a while to realize that Google Chrome has a problem with web fonts and that it renders them poorly. I am wondering if there is solution for this?
What if I download those two font types and embed them into the main directory of my website and then call them through CSS via #font-face property? Would Google Chrome in that case render those fonts nicely or I would still have the same problem and poorly rendered fonts???
Or there is some other solution for this issue?
Thank you all!
I believe I saw some bug report for Chrome where it was mentioned that this will be fixed - but I'm not 100% sure. I believe that it's not actually 100% the fault of Chrome...
My understanding is that the problem is to do with the order in which font types are presented in the #font-face directive. So, Chrome handles more than one type but not all types will render at equal quality. Apparently, Google actually doesn't serve the fonts in the right order from fonts.google.com - somehow...
In the end I found that, with Roboto at least (which I'm also using on a project), it is available for use on Font Squirrel (and open sourced under the Apache 2.0 license) - so you can download it here: http://www.fontsquirrel.com/fonts/roboto (download the Webfont Kit for full cross-browser font support) - you lose the CDN goodness of having it hosted on Google's servers if you use it from your own web server but, IMHO, I'd rather lose a few milliseconds than have to deal with such terribly rendered text...
I can't help you with Fauna One, unfortunately - it doesn't appear to be listed on Font Squirrel - perhaps you can find it on another font site? Or another similar font which is available on font squirrel?
From a web browser perspective (Chrome being the browser in question), Chrome 35 in Windows has difficulty rendering some fonts, like Roboto, without some horrible artifacts that make the font difficult to read.
There is a feature called DirectWrite that will be included by default in future versions of Chrome that will fix this problem. You can enable it now in Chrome 35 by going to chrome://flags in your browser URL bar. You can Enable DirectWrite (experimental in Chrome 35), close your browser, open and try again.
Just to be clear, I discovered this problem on Chrome 35 for Windows. DirectWrite is a DirectX API for rendering fonts in Windows. Chrome by default uses Windows Graphics Device Interface (GDI) which seems to be the problem.
See this article
Does anyone know about the current situation with Google Fonts rendering in Chrome? I've read through tonnes of posts and outdated solutions that no longer work, and it seems that the latest best solution is to use Font Squirrel to get the Google Font and then link the SVG format first so that Chrome uses it. But apparently SVG font rendering is glitchy/inconsistent/unreliable in other ways. Is there a good alternative?
Currently the only fix seems to be reordering SVG in the #font-face CSS code, which you mentioned. The 'glitching' you're referring to seems to be fixable by using a media query trick outlined in the following post. https://stackoverflow.com/a/14345363/1490006
When you use google fonts, use property font-weight in your CSS. I had this problem with font rendering on my chrome browser. After I have setup this property problem has gone.
I am currently using Josefin Slab from Google Web Fonts API and having some rendeding / spacing issues. I have tried everything to get the vertical alignment to match up from Firefox OSX to PC and cannot get them to render correctly. Does anyone have experience with this that can lend some insight, I would like to continue to use the fonts for the navigation but may have to move to images for cross browser consistency.
Does anyone have any pointers of similar issues they may have experienced and addressed?
This is not an answer but a possible workaround for you.
Webfont is tricky even Google can't get it right, it is mostly due to the fact each platform interpert the same font file differently. If you know scripting, you could detect OS, add className and adjust the style for each platform. Modernizr could do the same thing.