drawText only draws a single line, so vertical spacing is always done by the application/view (getFontSpacing returns suggested values for that).
Horizontal spacing happens in several ways: - Paint.setTextScaleX() lets you apply a multiplier to all of the widths in the text (making it narrower or wider) - Canvas.drawText() and drawTextOnPath() uses the font's spacing (modulo setTextScaleX) - Canvas.drawPosText() lets you specify the x,y position of every character. On Nov 4, 2008, at 8:00 AM, Narwal wrote: Hello all i know there is a method getFontSpacing(). but which method i should use,if i want to control the fontspacing accurately,when i use drawText. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

