Implement kerning support for linux/android. Improvements to text for #2554.