I have a very hard time right now as my whole application renders different on the device than on the emulator using “MarkerFelt-Thin” as font!
When I render in the Simulator I get very different placing than on the device!
To illustrate this try the following code and compare device with simulator output!
local rec1=display.newRect(50,90,200,3)
rec1:setFillColor( 255,255,255 )
local txt1=display.newText("Test\_\_\_\_", 50, 50, "MarkerFelt-Thin", 40 )
txt1:setTextColor( 255,0,0 )
local txt2=display.newText("Test\_\_\_\_", 50, 50, "Helvetica", 40 )
txt2:setTextColor( 0,255,0 )
local txt3=display.newText("Test\_\_\_\_", 50, 50, "Verdana", 40 )
txt3:setTextColor( 0,0,255 )
local rec2=display.newRect(50,220,200,3)
rec2:setFillColor( 255,255,255 )
local txt4=display.newText("Test\_\_\_\_", 50, 0, "MarkerFelt-Thin", 40 )
txt4:setTextColor( 255,0,0 )
txt4.y=200
local txt5=display.newText("Test\_\_\_\_", 50, 0, "Helvetica", 40 )
txt5:setTextColor( 0,255,0 )
txt5.y=200
local txt6=display.newText("Test\_\_\_\_", 50, 0, "Verdana", 40 )
txt6:setTextColor( 0,0,255 )
txt6.y=200
Not only that I believe that the baseline of all those different texts need to go in exactly the same position.
That the placing differences for 1-3 and 4-6 is different even the same numbers are used in all cases.
But the most disturbing fact is how big the rendering differences between the simulator and the device are (and why nobody complains about this?)!
Any hint how I can fix this till it is fixed in the SDK (Beta 4 and Beta 5 give the same results for me) [import]uid: 6928 topic_id: 1192 reply_id: 301192[/import]