Changing the vertical line of the ULIEL ULIBEL

Im using .ttf font in ULIEL NGUI and I have some weird font line spacing issues.

If I use the font in "microsoft paint" I don't get any problems with the spacing between vertical lines ...

However, when I use the font in ULIIEL NGUI, the vertical line distance seems to decrease, "gathering" the text if you like.

Has anyone faced this problem? I tried to edit the font spacing values ​​using "FontForge" but there was no difference.

Thanks in advance!

+3


source to share


1 answer


I can't say I ran into this problem, so I'm wondering what settings you used when importing the font.

The NGUI tag will read the default location information from the object UIFont

created during import. Advise you to find this asset in the project panel and then adjust the options.

Quote docs :



Spacing allows you to adjust the distance between printable characters (X) and lines (Y).

The docs don't state what uses unit spacing, but it appears to be in pixels.

0


source







All Articles