Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: keilmillerjr on March 28, 2016, 02:21:23 PM

Title: charsize not filling fe.Text
Post by: keilmillerjr on March 28, 2016, 02:21:23 PM
I have fe.Text objects. When charsize property is set to default, autosize does not fill the height. Any idea how to remedy? I assume if I explicitly set the charsize, it's using points instead of pixels. Even still, it does not perfectly match the text object. Is this due to the default Arial font having some sort of spacing? I used the set_rgb() function to blue on the text objects to demonstrate.
Title: Re: charsize not filling fe.Text
Post by: keilmillerjr on March 30, 2016, 07:01:40 PM
I switched fonts trying to troubleshoot and the new font is spaced above the message area. Why are fonts not filling the height?
Title: Re: charsize not filling fe.Text
Post by: keilmillerjr on April 08, 2016, 10:22:17 AM
Bueller?
Title: Re: charsize not filling fe.Text
Post by: chrisvg on April 08, 2016, 11:09:06 AM
Standard characters won't completely fill a text box ... The text object allows for special characters and symbols that would need additional space vertically, hence the gap.  This is a standard practice and is a good thing.  You just need to allow for it in your designs.