pingjiang / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

stuck with text / drawing a string #176

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Typeface face = Typeface.defaultFromStyle(Typeface.NORMAL);
        Font font = new Font(face);
      Texture  fontTexture = font.createTexture("Test Text");
       TextSprite text = new TextSprite(20, 100, 12, 20);
        text.setTexture(fontTexture);
        add(text);

What is the expected output?
Test Text

What do you see instead?

nothing at all
What version of Rokon are you using?

2-0-3
On which version of Android are you experiencing this?
2.2

Please provide any additional information below.
i dont know what to do further with this code .. i am totally stuck

Original issue reported on code.google.com by javed.us...@gmail.com on 1 Feb 2011 at 1:48