[squeak-dev] highdpi testing
Tobias Pape
Das.Linux at gmx.de
Mon Sep 21 13:50:30 UTC 2020
Hi
> On 19.09.2020, at 19:26, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:
>
> Hi,
>
> ah, I had assumed something like this, thanks for fixing, Tom! :-)
>
> #actualScreenScaleFactor is a very helpful tool, but I do not yet see the whole idea of the changeset.
> In what sense is this meant to be a complement of RealEstateAgent >> #scaleFactor or rather an orthogonal concept?
> After loading the changeset and resetting my UI theme, the background image of the world disappeared and all new windows are huge, but they still have a tiny font - am I supposed to set the #scaleFactor manually (to 12, in my example)?
> Where exactly can I see any components in the image that are upscaled by the new changeset?
>
These do something.
Load in order:
DpiAware-Kernel
DpiAware-Morpic
DpiAware-Display
First two are harmless, third will do something.
If nothing changes, do
UserInterfaceTheme cleanUpAndReset.
Issues ensue.
- Layouting borks.
The assert after the potential relayout
self assert: (self hasProperty: #doLayoutAgain) not
fails already in the docking bar…
- Fonts with UI-Themes do not work.
These are "Deep-referenced" to a pixel size (for Strike fonts) on creation, (so also during UserInterfaceTheme cleanUpAndReset).
However, when the scale factor changes, the pixel-sized fonts don't match the point sizes anymore…
This used to work pre-UI-Themes, as everyone requesting a Font did so by directly asking StrikeFont or TextStyle at the time the
Font was used. Hummm..
Hope you enjoy.
-t
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DpiAware-Display.1.cs
Type: application/octet-stream
Size: 778 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200921/1a07ab18/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DpiAware-Kernel.1.cs
Type: application/octet-stream
Size: 4348 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200921/1a07ab18/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DpiAware-Morphic.1.cs
Type: application/octet-stream
Size: 5789 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200921/1a07ab18/attachment-0002.obj>
More information about the Squeak-dev
mailing list
|