Blurred texts in iPad

I was using text for an ipod project but when I see the project on iPad texts are all blurred, I guess is because they are rendered to a texture (they are not vectors) and in other devices gets scaled.

I solved this with the following code so that everyone knows:

[lua]function newText(text, x, y, font, size)
local text = display.newText(text, x, y, font, math.floor(size * (1 / display.contentScaleX) + 0.5))
text.xScale = display.contentScaleX;
text.yScale = display.contentScaleY;
text.x = x + math.floor((text.width * display.contentScaleX) / 2 + 0.5);
text.y = y + math.floor((text.height * display.contentScaleY) / 2 + 0.5);
return text
end[/lua] [import]uid: 46260 topic_id: 9084 reply_id: 309084[/import]