title: How do draw italic text on Android canvas?
body: <p>In my app I am drawing text on Android <code>Canvas</code>;</p>
  
  <p>Now to support <code>underline</code> and <code>bold</code> I am taking help of paint object;</p>
  
  <pre><code> Paint paint = new Paint();   
  
   paint.setUnderlineText(true); 
   paint.setFakeBoldText(true);
  
   paint.setColor(color);
   paint.setTextSize (font_size);
   canvas_obj.drawText(text,x,y,paint);
  </code></pre>
  
  <p>With this code I am getting bold and underlined text;</p>
  
  <p>I also like to make it <code>italic</code>,</p>
  
  <p>I am developing app for android 2.2 onwards.</p>
  
  <p>how to do it? </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I am setting Typeface object created with an external font file to support external font; For Italic I am using following code</p>
  
  <pre><code>paint.setTypeface(Typeface.create(external_font_type_face,Typeface.ITALIC));
  </code></pre>
  
  <p>This also not working,
  Tested on Samsung Galaxy Ace (android 2.2)</p>