You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(font): Fix font scaling for large resolutions and implement new font scaling methods (#1466)
Implements 3 new font scaling methods, on top of the original classic:
- CLASSIC
- CLASSIC_NO_CEILING
- STRICT
- BALANCED
The new scaling methods can be set in Language.ini with the ResolutionFontSizeMethod field.
CLASSIC_NO_CEILING is the new default and scales alright in 4k. The CLASSIC scaling method is auto selected for the current generations of Control Bar Pro addons, because they do have custom font scaling for 2560 x 1440 and 3840 x 2160. The STRICT scaling method scales by the minimum growth of width or height. The BALANCED scaling method scales by the average growth of width and height, evenly weighted. Both STRICT and BALANCED scale well in different resolutions and aspect ratios.
ResolutionFontSizeMethod_Classic, // Uses the original scaling method. Scales poorly on wide screens and large resolutions.
73
+
ResolutionFontSizeMethod_ClassicNoCeiling, // Uses the original scaling method, but without ceiling. Works ok for the original Game UI and with large resolutions. Scales poorly on very wide screens.
74
+
ResolutionFontSizeMethod_Strict, // Uses a strict scaling method. Width and height are strictly bounded on upscales. Works well for accurate UI layouts and with large resolutions.
75
+
ResolutionFontSizeMethod_Balanced, // Uses a balanced scaling method. Width and height are evenly weighted for upscales. Works well for the original Game UI and with large resolutions.
ResolutionFontSizeMethod_Classic, // Uses the original scaling method. Scales poorly on wide screens and large resolutions.
73
+
ResolutionFontSizeMethod_ClassicNoCeiling, // Uses the original scaling method, but without ceiling. Works ok for the original Game UI and with large resolutions. Scales poorly on very wide screens.
74
+
ResolutionFontSizeMethod_Strict, // Uses a strict scaling method. Width and height are strictly bounded on upscales. Works well for accurate UI layouts and with large resolutions.
75
+
ResolutionFontSizeMethod_Balanced, // Uses a balanced scaling method. Width and height are evenly weighted for upscales. Works well for the original Game UI and with large resolutions.
0 commit comments