<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        Note that I did not touch #borderWidth because it would bump to "2" far too quickly. We would need 1.5 but our rendering system does not allow that. :-)<div><br></div><div>> <span style="font-family: Calibri, Helvetica, sans-serif;font-size: 16px">unfortunately, Morphic and Point/Rectangle do not support sub-pixels for whatever reason ...</span><br><div><br></div><div>Because the current rendering system does not support it.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        </div><blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 16.11.2020 16:26:17 schrieb Thiede, Christoph <christoph.thiede@student.hpi.uni-potsdam.de>:</p><div style="font-family:Arial,Helvetica,sans-serif">

<div id="divtagdefaultwrapper" style="font-size: 12pt;color: #000000;font-family: Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hm, #screenScaled etc. could improve the readability a bit, but they do not answer the question of which layers one should touch to configure dpi-sensitivity. Conceptionally, I would expect this to happen in the Canvas/drawing and the event-handling parts only,
 but unfortunately, Morphic and Point/Rectangle do not support sub-pixels for whatever reason ...</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</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><span style="font-size: 10pt;color: #808080"></span></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;color: #000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Donnerstag, 12. November 2020 09:40:47<br>
<b>An:</b> squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Morphic-ct.1714.mcz</span>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
Well, I think that #screenUnscaled is a more elegant solution for the things happening in UserInterfaceTheme >> #fixFontsAndScaleAound: :-)
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
<p style="color: #AAAAAA; margin-top: 10px;">Am 12.11.2020 09:36:24 schrieb Marcel Taeumel <marcel.taeumel@hpi.de>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
In Vivide, I added #scaleValueToDisplay on Integer and Point besides the already existing #scaleIconToDisplay on Form. Tobias (topa) suggested a different approach for DPI-awareness, that is, #screenScaled and #screenUnscaled -- which I did not fully understand
 yet.
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
<p style="color: #AAAAAA; margin-top: 10px;">Am 11.11.2020 18:33:54 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">A new version of Morphic was added to project The Inbox:<br>
http://source.squeak.org/inbox/Morphic-ct.1714.mcz<br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-ct.1714<br>
Author: ct<br>
Time: 11 November 2020, 6:33:33.254952 pm<br>
UUID: ffa0dcf6-075e-f04b-876f-fdee1186c309<br>
Ancestors: Morphic-mt.1710<br>
<br>
Honor hi-dpi settings for halo, window, and keyboard-focus indication borders.<br>
<br>
Argh, this makes all these methods harder to read ... Did I patch the methods at the right abstraction level? Please review!<br>
<br>
=============== Diff against Morphic-mt.1710 ===============<br>
<br>
Item was changed:<br>
----- Method: Morph>>keyboardFocusWidth (in category 'drawing') -----<br>
keyboardFocusWidth<br>
<br>
+ ^ ((self userInterfaceTheme keyboardFocusWidth ifNil: [3]) * RealEstateAgent scaleFactor) rounded!<br>
- ^ self userInterfaceTheme keyboardFocusWidth ifNil: [3]!<br>
<br>
Item was changed:<br>
----- Method: SimpleHaloMorph>>drawOn: (in category 'drawing') -----<br>
drawOn: aCanvas <br>
"Draw this morph only if it has no target."<br>
<br>
(Preferences showBoundsInHalo and: [self target isWorldMorph not])<br>
ifTrue: [<br>
aCanvas<br>
frameAndFillRectangle: self bounds<br>
fillColor: Color transparent<br>
+ borderWidth: (2 * RealEstateAgent scaleFactor) rounded<br>
- borderWidth: 2<br>
borderColor: (self userInterfaceTheme borderColor ifNil: [Color blue alpha: 0.8])]!<br>
<br>
Item was changed:<br>
----- Method: SystemWindow>>setDefaultParameters (in category 'initialization') -----<br>
setDefaultParameters<br>
<br>
Preferences menuAppearance3d<br>
ifFalse: [self hasDropShadow: false]<br>
ifTrue: [<br>
self addDropShadow.<br>
self hasDropShadow: self isKeyWindow. "maybe turn off again"].<br>
<br>
+ self borderWidth: ((self userInterfaceTheme borderWidth ifNil: [1]) * RealEstateAgent scaleFactor) rounded.<br>
- self borderWidth: (self userInterfaceTheme borderWidth ifNil: [1]).<br>
label font: (self userInterfaceTheme titleFont ifNil: [TextStyle defaultFont]).!<br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div></blockquote></div>