The Android font display involves the following parameters: 1. The datum point is baseline;2. Ascent is the distance above the baseline to the highest character; 3. Descent is the distance below baseline to the lowest character; 4. Leading is the distance between the descent of the previous line of characters and the ascent of the next line; 5. Top refers to the value of the highest character to baseline, which is the maximum value of ascent; 6. Ibid., bottom refers to the value of the most down character to baseline, which is the maximum value of descent. The actual height of the font is determined by Bottm-top; the Android display function DrawText (String text, float x, float y, paint paint) parameter y is the location of the baseline. Reference http://mikewang.blog.51cto.com/3826268/871765
Android Segmentation text problem based on area height