Custom typeface text size varies greatly between fonts
<p>I have a few TextViews in my app where I use a custom typeface. I have given the view centered layout gravity to get the text centered in its parent layout. It looks fine in the previewer with the Sans font, but when I change the typeface, the result looks like the text is shifted down, like this:</p>

<p><img src="http://i43.tinypic.com/m97hfl.png" alt="TextView with Shifted Text"></p>

<p>Compared to this:</p>

<p><img src="http://i41.tinypic.com/1zemv4.png" alt="TextView with Sans"></p>

<p>Here is the xml for that element:</p>

<pre><code>&lt;FrameLayout android:id="@+id/Turn_ScoreA_Frame" android:padding="5dp" android:background="@color/teamA_secondary" android:layout_margin="5dp" android:layout_gravity="center" android:layout_height="50dp" android:layout_width="110dp"&gt;
   &lt;android.view.View android:id="@+id/Turn_ScoreABG" android:background="@color/teamA_primary" android:layout_height="fill_parent" android:layout_width="fill_parent"&gt;&lt;/android.view.View&gt;
   &lt;TextView android:id="@+id/Turn_ScoreA" android:includeFontPadding="false" android:text="5" android:layout_gravity="center" android:layout_height="wrap_content" android:layout_width="wrap_content" android:textSize="32dp"&gt;&lt;/TextView&gt;
&lt;/FrameLayout&gt;
</code></pre>

<p>This also occurs when I use fill_parent for layout_width and height of the text view, with text gravity center. I set the custom Typeface in the OnCreate of the view in which this layout is used, just by using TextView.SetTypeface.</p>

<p>Does anyone know what could be causing this? I'm having trouble tracking anything down on this.</p>

<p>As a note, I've worked around this on several views by setting the margin_bottom to -10dp or so, but I'd like to remove that, and I can't get that hack to work on confined views like this one, anyways.</p>

<p>The font is Anton, by the way.</p>

<p>EDIT: This is definitely the result of the text being too large for its container. The thing is, Sans fits just fine, and the new font <em>would fit</em> but its measured size is too large. What I'm hoping is to find a way to get the text to remain at its current visible size and fit in the center of the container, in such a way that doesn't feel too hacky =)</p>
