title: Drawtext on surfaceview does only work on emulator but not on device
body: <p>I use canvas.drawText on a SurfaceView and the output looks correct on the emulator but when I deploy the app to my device (a Samsung Galaxy S3) the text is written from top to bottom like this:</p>
  
  <pre><code>T
  E
  s
  t
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/0GWxz.png" alt="Wrong output on Device Samsung Galaxy S3"></p>
  
  <p>It looks like a line-break is added after each character of the text. </p>
  
  <p>It doesn't matter if the device is landscape or not, it just never works and I can't figure out why.</p>
  
  <p>What am I doing wrong?</p>
  
  <p><img src="https://i.stack.imgur.com/5aa3C.png" alt="Emulator shows output correctly"></p>
  
  <p>In AndroidManifest.xml I use:</p>
  
  <pre><code>&lt;uses-sdk
      android:minSdkVersion="8"
      android:targetSdkVersion="8" /&gt;
  </code></pre>
  
  <p>The code I'm using:</p>
  
  <pre><code>public class MainActivity extends Activity {
  
      DemoView renderView;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          renderView = new DemoView(this);
          setContentView(renderView);
      }
  
      @Override
      public void onResume() {
          super.onResume();
          renderView.resume();
      }
  
      @Override
      public void onPause() {
          super.onPause();
          renderView.pause();
      }
  
      private class DemoView extends SurfaceView implements Runnable{
          Thread renderThread = null;
          SurfaceHolder holder;
          volatile boolean running = false;
  
          public DemoView(Context context){
              super(context);
              this.holder = getHolder();
          }
  
          public void resume() {
              running = true;
              renderThread = new Thread(this);
              renderThread.start();
          }
  
          public void run() {
              Canvas canvas;
  
              while(running) {
                  if(!holder.getSurface().isValid())
                      continue;
                  Paint test = new Paint(Color.YELLOW);
                  test.setColor(Color.YELLOW);
                  canvas = holder.lockCanvas();
                  canvas.drawText("TEst", 10, 10, test);
                  holder.unlockCanvasAndPost(canvas);
              }
          }
  
          public void pause() {
              running = false;
              while(true) {
                  try {
                      renderThread.join();
                      break;
                  } catch (InterruptedException e) { // retry
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>Thanks for your help!
  Stephoid</p>