Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: pixelplacement on October 20, 2013, 08:23:49 PM

Title: Fonts with line spacing break shrink to fit calculations
Post by: pixelplacement on October 20, 2013, 08:23:49 PM
I'm using a dynamic font that has a little line spacing and it appears this combination breaks the bounding calculation for Shrink Content.  Animated gif attached for reference.

Also, it appears that if you set a Max Lines other than 0, Shrink Content doesn't work and the addition content simply clips.  Is this intentional?

Thanks!
Title: Re: Fonts with line spacing break shrink to fit calculations
Post by: ArenMook on October 20, 2013, 09:02:28 PM
Max lines part other than 0 -- yes, it's intentional right now. I've been meaning to change it, but haven't gotten around to it.

Line padding affecting shrunk content is also a known issue, and is on the list of things to be fixed.
Title: Re: Fonts with line spacing break shrink to fit calculations
Post by: pixelplacement on October 20, 2013, 09:07:34 PM
Understood.

Thanks for the response and a great tool.