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

David T. Lewis lewis at mail.msen.com
Mon Jan 17 16:51:32 UTC 2022


On Mon, Jan 17, 2022 at 01:00:38PM +0100, Marcel Taeumel wrote:
> Hi Dave --
> 
> Thanks. I put it on the list. :-)
> 

I'll note that I took a look at this issue and could see no easy way
to avoid the problem. But just as an idea, maybe there is some way
to hook into the <esc> key to return the wizard to a safe state?
That's all I could think of, but I did not get as far as figuring
out how to implement it.

Dave


> Best,
> Marcel
> Am 31.12.2021 17:20:26 schrieb David T. Lewis <lewis at mail.msen.com>:
> Hi Marcel,
> 
> My screen resolution is 1920 x 1080 (16:9). I am attaching a
> screen shot to show what Squeak looks iike if I select 300%
> scale factor in the Preference Wizard. The Squeak window is
> expanded to full vertical height and with X11 window decorations
> still active. I see basically the same thing in Squeak full
> screen mode.
> 
> Dave
> 
> 
> On Fri, Dec 31, 2021 at 09:46:40AM +0100, Marcel Taeumel wrote:
> > Hi Dave --
> >
> > I tweaked it a bit. Does this work for you?
> >
> > Best,
> > Marcel
> > Am 31.12.2021 09:17:40 schrieb Marcel Taeumel :
> > Hi Dave --
> >
> > In Windows, I cannot make a window taller than what the actual screen has. How does it look like on your screen? Can you share a screenshot?
> >
> > Best,
> > Marcel
> > Am 30.12.2021 22:00:49 schrieb David T. Lewis :
> > On Thu, Dec 30, 2021 at 04:41:54PM +0100, Marcel Taeumel wrote:
> > > Done. Phew. Please report update issues ASAP. :-)
> > >
> >
> > This is very well done, and I like having it in the Preference Wizard
> > like this.
> >
> > I do have one issue to report - If I try the 300% setting on my
> > machine, I have no way to get back to 100% because the available
> > check boxes are now off the bottom edge of my display screen.
> >
> > A simple solution might be to move the explanatory text below the
> > check box selections, such that 100% check box is always visible
> > at ony of the scale factors.
> >
> > Dave
> >
> >
> > > Best,
> > > Marcel
> > > Am 30.12.2021 14:26:09 schrieb Marcel Taeumel :
> > > Final update. I will commit this in a few hours.
> > >
> > > Best,
> > > Marcel
> > > Am 29.12.2021 11:41:05 schrieb Marcel Taeumel :
> > > 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 :
> > > 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 :
> > > Updated. :-)
> > > Am 21.12.2021 19:01:06 schrieb Marcel Taeumel :
> > > 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
> >
> > >
> >
> >
> 
> >
> 
> 

> 



More information about the Squeak-dev mailing list