- Home /
How to change line height of dynamic font?
I am using best fit for a Unity Text component and for most fonts this works fine. But for a few fonts which I downloaded from Google Fonts, Unity is using a line height which is more than 200% the visible height of the font. As a result I have to use a negative bottom anchor to stop the text from being tiny. Is there a way to change the way Unity is calculating the line height of font so that it chooses a larger font that uses all the available space in the bounding rect?
Comment