From 89449280dc6be1d0d54359d48fc74d6c05f0c0c0 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 26 Mar 2020 06:29:25 +0100 Subject: Doc: more details about initialisation of display scale factors. --- documentation/src/drawing.dox | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'documentation/src/drawing.dox') diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index 6213d47ee..f40cbb9c1 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -70,7 +70,10 @@ to two pixels. At application start time, FLTK attempts to detect the adequate scale factor value for -each screen of the system. If this attempt fails, it's possible to set the +each screen of the system. Here is how that's done under the \ref osissues_x_scaling "X11" +and \ref osissues_windows_scaling "Windows" platforms. +If the resulting scale factor is not satisfactory, and also under the macOS platform, +it's possible to set the FLTK_SCALING_FACTOR environmental variable to the desired numerical value (e.g., 1.75) and any FLTK app will start scaled with that value. Furthermore, it's possible to change the scale factor value of any screen at run time -- cgit v1.2.3