Cut off descenders with newText()

I’m having a problem with descenders (such as the bottom part of a lowercase G) being cut off. Here’s a pic that shows what I mean:

I’ve tried creating larger text and then setting the size smaller as well as other tweaks, but nothing seems to work.

Is there a secret method I’m missing? Or do I just need to choose a different font?

Jay
[import]uid: 9440 topic_id: 9931 reply_id: 309931[/import]

tried changing the height property?
text.height? if it has one? :slight_smile:
and what are those sweet fonts? :slight_smile: [import]uid: 34945 topic_id: 9931 reply_id: 36204[/import]

Changing the height works like yScale, so the cut off descenders are still there. :frowning:

The fonts are 3Dumb and 2Dumb and you can find them here:
http://www.dafont.com/michael-tension.d1949

Jay
[import]uid: 9440 topic_id: 9931 reply_id: 36362[/import]

Looks like a bug, how much text are you using? is it possible to use images? [import]uid: 34945 topic_id: 9931 reply_id: 36375[/import]

So far nothing has worked, so I guess I’ll switch to a graphic of the text. I think it’s just the way the font is, because the descenders don’t cut off in Acorn when I put a CR at the end of the line – there’s just now way (that I know of) to use newText to create multiple lines of text.

Jay
[import]uid: 9440 topic_id: 9931 reply_id: 36552[/import]

If you’re using the standard ui.lua (not the new coronaUI), and are using newLabel or newButton to create the text have you tried adding an “offset” parameter? This fixed some font vertical alignment issues I was seeing only on devices, and only with certain fonts. [import]uid: 9422 topic_id: 9931 reply_id: 36555[/import]

Actually looks more like a zindex issue your text is falling behind the image, because corona orders items in the order that they are created or added to a group. reset your zindex of the text object if your adding it to a group, or create the test after the below image.

Good luck.

Larry [import]uid: 11860 topic_id: 9931 reply_id: 40303[/import]