text-rendering: optimizeLegibility crashes Android

2019-07-28 01:31发布

问题:

Today I noticed that all of my webpages crash the stock browser on my HTC. After some debugging I found that text-rendering: optimizeLegibility; causes this. After removing it from my code everything worked alright.
Can somebody confirm this? Is there anything I can do about it?

回答1:

I had issues with text-rendering on Nexus 7, using a WebView (which basically is the stock browser). It didn't crash anything, but it ignored all font-family declarations in the CSS. It just used the default font on everything.