Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Question about baselines and descenders. — Gideros Forum

Question about baselines and descenders.

AniketKAniketK Member
edited March 2016 in General questions
My actual problem is that aligning texts to baseline doesn't seem to do anything if I have one textview content without descenders and one which does.
So trying to align "Hello" and "Daisy" always results in 'Daisy' being a bit lower than "Hello".

In trying to work around this and just reduce the text y position by the descender value I discovered that a TTFont object has a getAscender function but no getDescender function. Is this because it can be calculated somehow or it's left out?

Comments

Sign In or Register to comment.