FontBoosterFixer is a libary which tries convert font-sizes that were altered by android's font boosting back to their original size.
Still under development, needs more test cases/devices! Please raise an issue if you find a non-working situation
Apparently there is a bug in WebKit that causes the fonts to render in the incorrect size. Mainly in webview components which are used by libraries like Cordova, the bug is very visible.
WebKit bug Stack overflow issue #1 Stack overflow issue #2
There is currently no good CSS fix that will work in all cases, therefor we created this JavaScript library which tries to correct all font-sizes.
- Test on more devices
- Performance optimizations (maybe using the user-agent to determine if the script has to be run?)
- Expand readme on use cases
FontBoosterFixer is maintained by Daan Sieben. Comments, feedback and suggestions are welcome. Please feel free to raise an issue or pull request.