// The following values from 'system-settings/libutil/sstu.c'
private const float FontSizeScaleSmall = 0.87f;
private const float FontSizeScaleNormal = 1.0f;
- private const float FontSizeScaleLarge = 1.1f;
- private const float FontSizeScaleHuge = 1.2f;
+ private const float FontSizeScaleLarge = 1.13f;
+ private const float FontSizeScaleHuge = 1.26f;
private const float FontSizeScaleGiant = 1.4f;
#endif
tlog.Debug(tag, $"TextUtilsGetFontSizeScale START");
var giant = TextUtils.GetFontSizeScale(System.SystemSettingsFontSize.Giant);
- Assert.AreEqual(2.5f, giant, "Should be equal!");
+ Assert.AreEqual(1.4f, giant, "Should be equal!");
var huge = TextUtils.GetFontSizeScale(System.SystemSettingsFontSize.Huge);
- Assert.AreEqual(1.9f, huge, "Should be equal!");
+ Assert.AreEqual(1.26f, huge, "Should be equal!");
var large = TextUtils.GetFontSizeScale(System.SystemSettingsFontSize.Large);
- Assert.AreEqual(1.5f, large, "Should be equal!");
+ Assert.AreEqual(1.13f, large, "Should be equal!");
var normal = TextUtils.GetFontSizeScale(System.SystemSettingsFontSize.Normal);
Assert.AreEqual(1.0f, normal, "Should be equal!");
var small = TextUtils.GetFontSizeScale(System.SystemSettingsFontSize.Small);
- Assert.AreEqual(0.8f, small, "Should be equal!");
+ Assert.AreEqual(0.87f, small, "Should be equal!");
tlog.Debug(tag, $"TextUtilsGetFontSizeScale END (OK)");
}