Yep, your content scale is similar to mine (halved, because of your content resolution, but value is < 1 for the ipad devices, as mine is, so that part is similar).
In scrutinizing your code example, I notice a difference in our use of the corona objects/API… In my case:
editTextField = native.newTextField( tempX, tempY, tempW, tempH, keyboardHandlerEditText)
if( display.contentScaleY \< 1 ) then
editSize = editSize /display.contentScaleY
end
editTextField.font = native.newFont( native.systemFont )
editTextField.size = editSize
In your case, the font size is set in the newfont call. I would imagaine this would work the same – but have never tested it - perhaps it is a bug in the newfont call (that it works in content pixels on the device, and not device pixels).
Also, it’s not clear to me how you are using the font (a newtext call?), and if you’re adjusting the .size property separately. Can you post the call to create the field?
Also, if your code was changed to not set the size on the newfont call, but set the size through the .size field, would it work? [import]uid: 79933 topic_id: 33890 reply_id: 134772[/import]