<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Tobias,</p>
<p><br>
</p>
<p>sorry I did not answer earlier! This approach looks better for me, however, the wheel is still not absolutely round:</p>
<p><br>
</p>
<p><img size="149697" contenttype="image/png" id="img652514" style="max-width: 99.9%; user-select: none;" contextid="img220321" tabindex="0" src="cid:3212099a-026e-460d-924c-75a9564be237"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div>
<div class="_rp_T4" id="Item.MessagePartBody">
<div class="_rp_U4 ms-font-weight-regular ms-font-color-neutralDark rpHighlightAllClass rpHighlightBodyClass" id="Item.MessageUniqueBody" style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont">
<div dir="ltr">
<div id="divtagdefaultwrapper"><font face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols">
<div id="Signature">
<div style="margin:0px"><font style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont">
<div><font size="3" color="black"><span style="font-size:12pt"><a href="http://www.hpi.de/" target="_blank" rel="noopener noreferrer" id="LPNoLP"><font size="2"><span id="LPlnk909538"><font color="#757B80"></font></span></font></a></span></font></div>
</font></div>
</div>
</font></div>
</div>
</div>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">(The shadows have a wrong position.)</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">For the first step, we could start by asking the user whether they would like to change the font size (#changeFontSize:) when a new scale factor is detected, couldn't we?</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">PS: @Tom:</div>
<div class="_rp_T4" id="Item.MessagePartBody">> <span>we try drawing things while we load things :)</span></div>
<div class="_rp_T4" id="Item.MessagePartBody"><span>For the case you did not already read it, I created a changeset that could solve this problem: <a href="http://forum.world.st/Changeset-Eliminating-global-state-from-Morphic-tp5121690p5122464.html" class="OWAAutoLink" id="LPlnk736871" previewremoved="true">http://forum.world.st/Changeset-Eliminating-global-state-from-Morphic-tp5121690p5122464.html</a> It
 also allow me to file in the original DpiAware changeset.</span></div>
<div class="_rp_T4" id="Item.MessagePartBody"><span><br>
</span></div>
<div class="_rp_T4" id="Item.MessagePartBody"><span>Best,</span></div>
<div class="_rp_T4" id="Item.MessagePartBody"><span>Christoph</span></div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Tobias Pape <Das.Linux@gmx.de><br>
<b>Gesendet:</b> Montag, 21. September 2020 15:50:30<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] highdpi testing</font>
<div> </div>
</div>
<div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi<br>
<br>
> On 19.09.2020, at 19:26, Thiede, Christoph <Christoph.Thiede@student.hpi.uni-potsdam.de> wrote:<br>
> <br>
> Hi,<br>
> <br>
> ah, I had assumed something like this, thanks for fixing, Tom! :-)<br>
> <br>
> #actualScreenScaleFactor is a very helpful tool, but I do not yet see the whole idea of the changeset.<br>
> In what sense is this meant to be a complement of RealEstateAgent >> #scaleFactor or rather an orthogonal concept?<br>
> 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)?<br>
> Where exactly can I see any components in the image that are upscaled by the new changeset?<br>
> <br>
<br>
These do something.<br>
Load in order:<br>
<br>
DpiAware-Kernel<br>
DpiAware-Morpic <br>
DpiAware-Display<br>
<br>
First two are harmless, third will do something.<br>
If nothing changes, do <br>
        UserInterfaceTheme cleanUpAndReset.<br>
<br>
Issues ensue.<br>
- Layouting borks. <br>
        The assert after the potential relayout <br>
                self assert: (self hasProperty: #doLayoutAgain) not <br>
        fails already in the docking bar…<br>
- Fonts with UI-Themes do not work.<br>
  These are "Deep-referenced" to a pixel size (for Strike fonts) on creation, (so also during UserInterfaceTheme cleanUpAndReset).<br>
  However, when the scale factor changes, the pixel-sized fonts don't match the point sizes anymore…<br>
    This used to work pre-UI-Themes, as everyone requesting a Font did so by directly asking StrikeFont or TextStyle at the time the<br>
  Font was used. Hummm..<br>
<br>
Hope you enjoy.<br>
-t<br>
<br>
<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
</div>
</span></font></div>
</div>
</body>
</html>