title: Custom font rendering on Android 4.0 (Ice cream sandwich)
body: <p>While testing an application that uses Helvetica Neue as its primary font on Android 4.0 I have found that there is an inconsistency in typeface rendering compared to multiple different version of Android. We tested this on 2.1, 2.2.2, 2.3.5, 3.2, 4.0, and 4.0.3 with the same results every time. We also did these tests with different typeface binaries with the same results.</p>
  
  <p>Any input or workarounds would be appreciated.</p>
  
  <p>Below is a screenshot from an example application to show the undesired results, the first is 2.3.5 the second is 4.0.3.</p>
  
  <p><img src="https://i.stack.imgur.com/FBuWk.png" alt="2.3.5"></p>
  
  <p><img src="https://i.stack.imgur.com/2l7L9.png" alt="4.0.3"></p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      TextView textView = new TextView(this);
      textView.setText("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.");
      textView.setTypeface(Typeface.createFromAsset(getAssets(), "Helvetica Neue.ttf"));
      textView.setTextSize(9);
      setContentView(textView);
  }
  </code></pre>