Reasons for blurry text

Apology for cross-posting this link to the CoronaUI forum – I haven’t gotten anyone to bite on this post in CoronaUI.

It’s a question regarding various reasons for blurry text.

https://developer.coronalabs.com/forum/2013/01/16/reasons-blurry-text

Thanks!

[import]uid: 25887 topic_id: 35080 reply_id: 335080[/import]

Hi @RealHandy,
I saw your other post. Similar to what @ingemar said: in my experiments, positioning text at fractional Y values can make it look blurry (i.e. y=135.5). Not sure if this applies to fractional X values too, but it very well could. I agree with @ingemar that you should try to position text at even integer values, even if you must use “math.round()” to get that value in some cases.

Brent [import]uid: 200026 topic_id: 35080 reply_id: 139500[/import]

Brent,

Thanks to both you and @ingemar – I thought that might be an issue. But I’m concerned, then, about the case where I build text items into a display group in a way that results in the display group being an odd number of pixels high or wide, and then using center referencing on the coordinates of the display group.

Is that also the case?

Thanks! [import]uid: 25887 topic_id: 35080 reply_id: 139528[/import]

Hi @RealHandy,
I saw your other post. Similar to what @ingemar said: in my experiments, positioning text at fractional Y values can make it look blurry (i.e. y=135.5). Not sure if this applies to fractional X values too, but it very well could. I agree with @ingemar that you should try to position text at even integer values, even if you must use “math.round()” to get that value in some cases.

Brent [import]uid: 200026 topic_id: 35080 reply_id: 139500[/import]

Brent,

Thanks to both you and @ingemar – I thought that might be an issue. But I’m concerned, then, about the case where I build text items into a display group in a way that results in the display group being an odd number of pixels high or wide, and then using center referencing on the coordinates of the display group.

Is that also the case?

Thanks! [import]uid: 25887 topic_id: 35080 reply_id: 139528[/import]