Android: measureText on Paint object for italic rendered fonts
<p>I need to compute lengths in pixels for all texts provided by my client.
The problem is they provided only one regular font and the italic style has to be rendered by Android. A known Android bug is that for italic (rendered as italic) fonts, width of TextView is not correctly computed and the end of text is cut. </p>

<p>Do you have any ideas how to compute length of these italic texts correctly?</p>

<p>So far I've tried measureText and getTextWidths methods, but I think that the bug is somewhere in Android sources because the length of italic and normal texts are the same.</p>

<p>I found that when there is no italic font and it has to be rendered, then in TextView source code, on TextPaint object skewX parameter is set. Its value is -0.25f.</p>

<p>Do you know what is this parameter and maybe how to calculate missing pixels based on this skewX factor?</p>
