How to read kerning pairs table from TTF file in Android
问题 I am currently drawing text on Canvas while using external (non-standard) font, loaded from TTF file. I want to enable kerning for the text I am displaying. What I want to know is if there is a possibility to read kerning pairs from typeface using Android API. 回答1: What I want to know is if there is a possibility to read kerning pairs from typeface using Android API. There is no public API to read kerning pairs from a TTF file. However, I pulled the relevant code from Apache FOP and you can