On 17/11/2022 23:17, Andrew Cool wrote (cross-posted from the Discussion Group):
Is there a setting somewhere to make the reported physical window size in BB4W consistent with other languages, e.g. 3820x2160
I wouldn't know about "other languages" (BBC BASIC is the only language I'm familiar with!) but it's consistent with the default behaviour of
all programs in Windows, which is for High DPI Scaling to be enabled. Any application which doesn't want this behaviour has to declare that it is
High DPI aware in its manifest, and that generally involves extra work making fonts readable etc.
Anyway High DPI Scaling is particularly important in the case of BBC BASIC, because many programs assume that the default font will be an 8x8 pixel bitmapped font (as on the BBC Micro) which is only comfortably readable at something near to the standard 96 DPI. Indeed
BBC BASIC for SDL 2.0 actually uses that same 8x8 font!
irrespective of the Windows scaling factor, or is this best appreciated as a “feature” of BB4W?
It is not a "feature", it is BB4W
working correctly, and as it has always done.
Once you have 'compiled' your program as a standalone executable you have complete control over its behaviour, so if you want to disable High DPI Scaling you can provide a suitable manifest (remember to deselect the
Use Windows XP visual styles checkbox, or do the same with a compiler directive, to avoid two manifests being included). You can even do it programmatically, although that is not recommended (and is liable to confuse the BB4W IDE). Full details are
here.