Hardware acceleration in Chrome causes serif web fonts to stop working - google-chrome

I have included some fonts in .woff format locally and everything works fine in Firefox and Edge. Only in Chrome, serif fonts are not displayed and the default font is output.
After a few tries, I found that the problem can be solved by disabling "hardware acceleration" in Chrome settings.
After disabling hardware acceleration, the serif font is displayed in Chrome without any problems.
Does anyone have any ideas what causes this issue? In my eyes, it is not due to the code or configurations but is only due to Chrome, because Chrome settings fix the problem. But now it is difficult to explain to potential visitors that it is not a website or code problem.
Any experience or ideas here?
I'm glad to have found the cause finally after lots of research, but unfortunately it's not a real solution. I want to make sure that locally embedded fonts in woff format always work without problems on all browsers.

Related

ErgoDox Oryx bad font in Chromium browsers

For all of my chromium based browsers, I'm getting a very bad font within Oryx for ErgoDox. If you're not familiar with the tool, you can see my keyboard layout here.
Update: I'm seeing in "Rendered Fonts" a strange font I don't recognize. Now I'm trying to work out how this is even happening, and why it's all my chromium browsers. See bottom photo below.
Update 2: The current theory is that my system is using the first "sans-serif" font it finds because of a syntax error in ErgoDox's CSS for the font-family; "Lato" should be enclosed in single quotes ' and it is not. This is causing my system to fall back to the first sans-serif font it finds, which is normally something more useful like "Arial", but is pix PixelFJVerdana12pt in my case. I've installed both "Lato" and "LatoLatin" and it is still rendering this awful font.
Update 3: Uninstalling "pix PixelFJVerdana12pt" fixed the issue ?? Now I'm looking into that font to figure out what the heck that even is? Now it renders Lato from the web? I'm putting an updated screenshot at the bottom with it fixed.
Here's what I've discovered and tried:
The site uses "Lato,sans-serif;" for all its fonts - loaded from woff2/woff files hosted on their site.
This problem exists for all of my chromium browsers: Chrome, Brave, Vivaldi, Edge.
The site loads just fine in chromium (Chrome) for a friend of mine.
The site loads just fine for me on my mobile phone.
Extensive searching online yields no reports of anyone else having this issue.
The site displays fine in Firefox.
I've installed Lato to my machine directly from Google Fonts.
I've downloaded the woff2/woff files from ErgoDox and opened them using a woff viewer online; they display correctly there.
Reloading the site with cache disabled does not work.
There are no console, or network errors (in developer tools).
The only extensions I have installed in this instance of chromium are: 1Password, Adobe Acrobat and Application Launcher for Drive (Google).
I run Windows Defender and Malwarebytes Enterprise.
I highly suspect this issue is local to me, and not a more global issue.
Anyone else with this issue? Any suggestions?
Problem demonstration:
Weird rendered font:
After uninstalling "pix PixelFJVerdana12pt":
The solution to the problem was to uninstall the "pix PixelFJVerdana12pt" font. I have no idea what is wrong with it, but it's now working as expected.
Those of you who get your kicks out of IT troubleshooting and mysteries, this is a good one for you to try to figure out! I'd still love to understand why this was happening - so strange.
I think I've figured it out and fixed it on my system - the font pix PixelFJVerdana12pt/PixelFJVerdana12pt by Flashjunior.ch has a TTF UniqueID of 0, which must cause Windows's font handling to treat it differently. I changed this to the font's name in FontForge, and replaced it on my system - after a restart of Chrome, the fonts in Oryx and gameatlas.com seem to be how they were intended to look.

DirectWrite has gone, fonts seem blurry and jagged after chrome update

this problem occurs after chrome update (ver52). As I learnt, DirectWrite was removed on chrome://flags, therefore I didn't do anything to solve the problem.
Especially small sized fonts are render blurry and jagged. When I design a web page fonts really bother me.
I tried a lot of CSS tricks but no one solved the problem. (text-shadow, font-smoothing, transform3d, filter, zoom, scale and so on)
Also I read that installed Helvetica font causes this problem, but I use win 7 and there isn't installed Helvetica font on my computer.
I installed Chrome Canary; there is still problem on webpages.
So, has anybody got an idea to solve this problem.

Google Web Fonts Rendering Pix-elated on specific computer

[Problem] -- I am having a problem with web fonts rendering on a specific computer, other computers in my house render the text fine (same OS and browser versions). They look really bad and pix-elated I know all about differences between how browsers render things differently but its not supposed to look this bad.
[What I've Tried] -- I tried prioritizing the .svg in my CSS first on my site to fix it on Google Chrome but it did not help. I installed Firefox and discovered it too does not render the Open Sans font correctly either. I also have tried clearing my cache (I have a cache clearing plugin) and opening in a incognito window thinking a chrome extension was causing a problem but no difference. From the screen shot it appears Chrome at least renders the larger "Open Sans Condensed" but the smaller text is pixelated. Its weird a fresh install of FF also has the same problem as Chrome. Also tried downloading the font files from Google Fonts and installing them locally, no difference.
IE 11 renders the text correctly. I need trouble shooting ideas..
The screen shot below is from the official Google Fonts website located here http://www.google.com/fonts/specimen/Open+Sans#pairings so it should rule out any bad coding on my own page. The open sans font on fontsquirrel loads correctly and its not pix-elated.
Here is what I see and I don't think the fonts should look that pixelated... http://imgur.com/hwvupBq sorry too low rep to post images :(
Each browser loads the fonts using different formats. Usually you would use font-face with the four different types, EOT, WOFF, SVG AND TTF. You can use the Font Squirrel site to load your font and spit out the four different versions. Also, take a look at Google font embedding which takes care of the the work (although they will look slightly different in different browsers)
The problem ended up being that my Windows 7 machine did not have cleartype enabled. See this post to see how to enable it http://www.howtogeek.com/howto/28790/tweak-cleartype-in-windows-7/

Text flow out of divs in chrome, but not on all chrome users?

I got a really strange problem, and after so much tries and research I can't get out of it.
I have a website, but SOME (just 5% of visitors) people with the SAME version of chrome, see the text flowing out of divs and text overlapping. It's very strange because I tested the website on all chrome browsers using browser testers, without any problem. And in internet explorer or firefox this problem never happens...
A page is located here
And here are some screenshots of what SOME people see (maybe you won't see this in chrome)
click here
Maybe it is because of the font face I am using? Or maybe some bad coded CSS?
Please help me out of this!
Thanks a lot!
I see you use .svg font. Recently I was hunting some Chrome font rendering bugs and saw this:
http://code.google.com/p/chromium/issues/detail?id=95102
This seem very similar to issues you are having. You could try to serve some other font type to Chrome and if this would fix that.
If you don't want or can't serve some other font type to Chrome, the only thing you can do is wait until Chrome version 24 is out to all users which should be soon (I can't find any announcement)
I tested it in
Chrome 23.0.1271.97 m
Chrome 26.0.1371.0 canary
Chromium 25.0.1334.0 (169326)
# Windows 7 x64 and your page seems fine for me.

Google web fonts blurry in firefox

I'm using google web fonts for a project, and have had no issues so far. I have a text shadow applied to some areas, and was pretty happy with the result in Chrome. I switched over to FF and the text was dizzyingly blurry. This applied to all text, shadow or not.
Is this a google web font issue, or something else?
Here's a screenshot of chrome
...and FF
I'm also having many issues with this at the moment...
You can try adding font-weight:normal; or font-weight:100; to your CSS, but I have found this work only sometimes.
My fonts all work correctly on FF (even IE) on PC, but using FF on MacOSX (Snow Leopard) they give that bold/blurry effect :(
Try toggling the hardware acceleration in options/preferences > advanced.
Read somewhere that rendering of fonts changed with increasing usage of hardware acceleration.
Also you can try tweaking at OS level. Go to system preferences > Appearances > Font-smoothing and tweak options there. Many people find blurry font issues because of mac's font-smoothing technique.