Package Exports
- font-booster-fixer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (font-booster-fixer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
font-booster-fixer
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
Why is this fix needed?
Appearrently 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.
What is still todo?
- Test on more devices
- Performance optimalizations (maybe using the user-agent to determine if the script has to be run?)
- Expand readme on use cases
Credits and collaboration
FontBoosterFixer is maintained by Daan Sieben. Comments, feedback and suggestions are welcome. Please feel free to raise an issue or pull request.