pub fn set_font_scale(scale: f32)Expand description
Updates the system font scale, taking it as a plain multiplier.
Hosts call this when the platform reports the setting, and again whenever it
changes while the app is running — on Android that is a configuration
change, which arrives without the process restarting. Like density it
invalidates layout, because every Sp size on screen has just changed.
A host whose platform converts Sp through a table of its own calls
set_font_scale_curve instead.