Text doesn't get sharp sometimes?

Hi,

I can’t figure this out, sometimes text looks sharp and nice - but sometimes it gets blurred?

For example, this snippet gets crispy and clear:

local text1 = display.newText( "Sharp and crsip", 60,icon.y+40,232,280, "Gill Sans", 18 )  
  

and this line looks blurred and unsharp:

local price1 = display.newText( "This line looks blurry", 100,100, "Arial", 26 )  

I am testing on an iPad2 and these are my settings…

  
 content ={width = 768,height = 1024,fps = 60, scale = "letterBox"},  
  

Anyone has any ideas on why this happens - I do need to solve this we are soon about to send this app to iTunes…

Joakim [import]uid: 81188 topic_id: 27208 reply_id: 327208[/import]

My first observation would be that you’re using two different fonts. So you can leave the second line exactly as it is, except change to the other font and see if it becomes clear.

My second observation is that your first example sets/forces “width, height” parameters (232,280), while your second example has no width height. I believe the display system handles them very differently – so another test would be to test if the latter gets “clear” if you add width/height parameters.

Let us know what you find out, good luck! [import]uid: 79933 topic_id: 27208 reply_id: 110583[/import]

Woawww, this is a freaking bug!

It affects graphics and text objects when x and y is having a decimal.

I am dynamically placing my objects on screen and referring to the other objects so that everything lines up perfect. I noticed when I was debugging that my x and y sometimes had a decimal. If I added math.round to those values - everything looks crispy and sharp again.

Joakim [import]uid: 81188 topic_id: 27208 reply_id: 110648[/import]