[squeak-dev] Please Test | Improvements around display scaling (150%, 200%, 250%, ...)

Marcel Taeumel marcel.taeumel at hpi.de
Wed Dec 29 10:41:05 UTC 2021


Next update. Our preference wizard can scale now. :-) And the mouse cursor scales correctly. And I disarmed the primitiveScreenScaleFactor for now to not confuse users with a "(recommended)" factor that is always 1.0 (or 100%).

Best,
Marcel
Am 23.12.2021 15:14:08 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Updated. :-D

Big thanks to Tobias (topa) to make me realize that we need:

DisplayScreen >> #platformScaleFactor(:)
DisplayScreen >> #uiScaleFactor(:)


And because of another macOS-vs-Windows discussion:

DisplayScreen >> #relativeUiScaleFactor(:)
DisplayScreen class >> #relativeScaleFactorEnabled(:)

Please read the commentary in those methods.

Best,
Marcel
Am 22.12.2021 10:14:56 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Updated. :-)
Am 21.12.2021 19:01:06 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Hi all --

Yes, the new primitive "primitiveScreenScaleFactor" is not yet functional, but we can do something to at least improve the manual way of scaling fonts (and widgets and tools) so that your favorite high-DPI display can be used in Squeak (i.e. "sharp fonts") without letting the operating system scale (i.e. "blurry fonts").

Here is an older discussion: http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-September/211603.html [http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-September/211603.html]

Please find attached a change set for your to try out. Load it and then click Extras > Scale Factor > 200%. Or do-it in a workspace: "Display scaleFactor: 1.25". Note that 100%, 125%, and 150% will still use our pre-rendered "Bitmap DejaVu Sans" fonts. Other scale factors rely on "BitstreamVeraSans(Mono)".

I have still a little bit more testing to do considering the use of FontImporterTool. :-)

It's still not perfect. But at least we now have a one-click solution for scale factors bigger than 150%.

Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211229/c404ca92/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scale-factor.40.cs
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211229/c404ca92/attachment-0001.ksh>


More information about the Squeak-dev mailing list