Version: 2022.3

TrueTypeFontImporter.shouldRoundAdvanceValue

切换到手册
public bool shouldRoundAdvanceValue ;

描述

如果要将字体的内部步进宽度舍入为最接近的整数,可将此属性设置为 true。

定位字符时,舍入的步进宽度引起的累积误差可能导致字符之间的间隔看起来不一致。请注意,整数 CharacterInfo.advance 始终舍入为最接近的整数,与此标志无关。