Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Font properties — Gideros Forum

Font properties

totebototebo Member
edited July 2016 in General questions
When aligning TextFields precisely I've bumped into a few issues. Aside from font:getAscender(), how feasible would it be to add font:getCapHeight(), font:getMedianHeight() as per image below?


image


This would allow me to align a text using the cap height, rather than ascender, which is needed to align text for languages such as Swedish. The characters Å, Ä and Ö should be aligned by the top of the A rather than the circle above it.


2000px-Typography_Line_Terms.svg.png
2000 x 537 - 66K
My Gideros games: www.totebo.com

Comments

Sign In or Register to comment.