> 2018/11/11 7:43、Robert ListMail via 4D_Tech <[email protected]>のメール:
>
> Form Scaling... Is this still a thing? :)

The feature was originally introduced to compensate for the DPI difference (72 
on Mac, 96 on Windows).

There is an interesting background story on why the 2 camps decided on a 
different DPI.
https://blogs.msdn.microsoft.com/fontblog/2005/11/08/where-does-96-dpi-come-from-in-windows/

The idea back then was that you take an existing form,
duplicate it (unless you intend to discontinue support for the original 
platform),
then scale it,
so that the form looks approximately the same size when displayed on a similar 
monitor.

It made more sense when monitors were VGA.

Today it is better to use the same form for both platforms and use only 
automatic stylesheets.

> Regarding the default stylesheet, what is “Windows Classic” and what 
> stylesheet would Windows 10 use?

This stylesheet is selected when the Windows "Theme" preference is set to 
"Classic".
A different (legacy) set of APIs is used to render UI elements.
You typically see this on a Windows Server which has limited graphic 
capabilities.

Contrary to popular thinking, the classic theme is less efficient, despite the 
simplistic design,
because it does not take advantage of modern hardware graphic optimisation.

> I saw recently where 125% was considered optimal. I

the OS proposes a different DPI depending on hardware capability.
125% is typical of a non-4K laptop.

4D forms are not DPI aware (well, the CEF web area is, but it must be 
suppressed to fit in 4D's UI system)
so any scaling forced by the system, would look blurred; although it would be 
less noticeable with 125%.




**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to