Previously, we determined the UI font from a predefined set of fonts
each mapped to a language. This works well if the user doesn't change
their Windows UI font, but if one does, they will get the default UI
font associated with their language instead of the one the set.
This commit replaces ProgSettings::getFontName with
ProgSettings::getUIFont, which uses the SystemParametersInfo API to
query the message font from the system, which will allow users to have a
custom font. It will also not interfere with different languages, as the
message font will be appropriately set by default there.
* Revert "Fix remember size and position regression in which vertical size could grow when reopening the VM (#6239)"
This reverts commit 74aa15644d.
* Revert "Change window resizing logic when using 4:3 aspect ratio (#6233)"
This reverts commit bc085ac02f.
* Revert "Run more iterations and retested"
This reverts commit ca429dd493.
* Revert "Fix Force 4:3 Aspect Ratio not working if Resizable window is enabled #6062"
This reverts commit 717b66c660.
* Implement Force 4:3 option for resizable windows with fullscreen behaviour
* Change window resizing logic when using 4:3 aspect ratio
Change window resizing logic when using 4:3 aspect ratio to resize content only. Fixed issues in Remember size and position that are derived from the change. There is a slight flicker while resizing with force 4:3 aspect ratio.
* Fix regression that adds vertical size when showing toolbar and statusbar and remembering size and po
The recent rework on the force aspect 4:3 which needed to revisit the remembering of size and position introduced a regression that would save the size without considering the non-content window elements that could be showed or hidden. Now it calculates it accordingly.
Change window resizing logic when using 4:3 aspect ratio to resize content only. Fixed issues in Remember size and position that are derived from the change. There is a slight flicker while resizing with force 4:3 aspect ratio.
AI assisted fix, seems to work fine after a second iteration. Tested in WSL linux -a bit shaky to resize windows in this environment by default, but seems to behave fine now.