[BUG #7762] Improved determination of app font scale
Minor changes