<div dir="ltr">Hi Tobias,<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 12:01 AM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Hi Eliot,<br>
<span class=""><br>
On 31.03.2016, at 06:53, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; Hi Tobias,<br>
&gt;<br>
&gt;    card to say more about this?  I had explicit requests to add this with the given settings and have heard of no complaints yet.  But you disable it below.  Are you sure you&#39;re doing the right thing?<br>
<br>
</span>The effect of &lt;dpiAware&gt;true&lt;/dpiAware&gt; is that Windows expects the application to<br>
handle the actual dpi of the screen the application is currently on.<br>
<br>
On typical displays, there&#39;s no change, but hi-dpi displays (like a MS Surface, or Retina Macs)<br>
have a higher DPI and Windows in this case does not do anything special.<br>
In effect, the picture is just tiny, fonts near unreadable.<br>
<br>
While some people (also people I know) prefer this tinyness, it is actually startling for<br>
new users and &quot;the average&quot; user.<br>
<br>
If &lt;dpiAware&gt;false&lt;/dpiAware&gt; is set, Windows handles the screen DPI and upscales<br>
the backing store so that everything looks similarly big on screens of different DPI.<br>
This is (imho) the expected behavior.<br>
<br>
People preferring the hidpi variant easily can set the dpiAware entry (thats, eg, what<br>
Marcel does for his projects sometimes). The other way round, expecting average/new<br>
users to _disable_ that is probably a bad idea.<br>
<br>
Hence the change.<br>
<br>
Once we have<br>
        - VMs actually reacting to Screen-DPI-changes and<br>
        - Emitting DPI-changed-Events to the Image and<br>
        - The image actually does something useful with this event<br>
I&#39;ll happily change that back. But that time has not come yet.<br>
<br>
Best regards<br>
<span class=""><font color="#888888">        -Tobias</font></span></blockquote><div><br></div><div>OK, but the README (generated by scripts/uploadvms) states</div><div><br></div><div>&quot;     Windows</div><div>     The Windows VMs are &quot;dpiAware&quot;, which means that by default the display is</div><div>     not scaled and display pixels are mapped 1 to 1 to the screen.  If this</div><div>     behaviour is not desired you can enable scaling by either editing the</div><div>     relevant manifest file (e.g.  Squeak.exe.manifest), changing the &quot;true&quot; in</div><div>     &lt;dpiAware&gt;true&lt;/dpiAware&gt; to &quot;false&quot;, or simply deleting the manifest file. &quot;</div><div><br></div><div>So I&#39;ll change this.  (But under protest; it strikes me that it&#39;s much easier to delete a file than edit it, so those wanting non-dpiAware Windows VMs have a simple option, whereas those wanting it have to edit the damn file).</div><div><br></div><div>In any case, some enterprising soul could add code to the image that would change the setting and relaunch; that would be very nice.  In fact, why not do this, and revert the dpiAware setting?  The Windows VM has been this way for some time, and it&#39;s perhaps better to fix the issue flexibly (by providing an in-image menu pick that will try to edit the VM&#39;s manifest file).</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""></div></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">PS: I also want DPI-awareness for the Mac VM, btw.</blockquote><div><br></div><div>(IANOERAGE)  What does this mean?  A simple approach might for the VM to do scaling by integer factors, avoiding fuzziness but yielding chunky pixels.  A better approach is simply to have the image choose larger fonts and larger window sizes in proportion to some &quot;reference&quot; window size such as 1600x1080 or 640x480 (how quaint).  What I expect it /not/ to mean for a while, is replacing the graphics model with a vector graphics one.  Pharo is doing this and we can steal the work when we have energy (and black masks).</div><div><br></div><div>What does this cost?  Ho much VM work is there in Linux, Windows and Mac VMs to provide a &quot;useful&quot; form of being dpi-aware?</div><div><br></div><div>(IANOGE = I am not even remotely a graphics expert = those of you with a clue, please weigh in and make some decisions, help with crafting a graphics trajectory)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">
<br>
&gt;<br>
&gt; _,,,^..^,,,_ (phone)<br>
&gt;<br>
&gt;&gt; On Mar 30, 2016, at 12:32 AM, <a href="mailto:commits@squeakvm.org">commits@squeakvm.org</a> wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Revision: 3665<br>
&gt;&gt; Author:   topa<br>
&gt;&gt; Date:     2016-03-30 00:32:09 -0700 (Wed, 30 Mar 2016)<br>
&gt;&gt; Log Message:<br>
&gt;&gt; -----------<br>
&gt;&gt; Squeak is actually not DPI aware (yet?).<br>
&gt;&gt;<br>
&gt;&gt; Modified Paths:<br>
&gt;&gt; --------------<br>
&gt;&gt;   branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest<br>
&gt;&gt;   branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/newspeak.cog.spur/nsvm.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Newspeak Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/newspeak.stack.spur/nsvm.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Newspeak Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.cog.spur/Croquet.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Croquet Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.cog.spur/Squeak.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Squeak Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.cog.v3/Croquet.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Croquet Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.cog.v3/Squeak.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Squeak Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.stack.spur/Croquet.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Croquet Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.stack.spur/Squeak.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Squeak Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.stack.v3/Croquet.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Croquet Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
&gt;&gt; Modified: branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest<br>
&gt;&gt; ===================================================================<br>
&gt;&gt; --- branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest    2016-03-29 20:18:32 UTC (rev 3664)<br>
&gt;&gt; +++ branches/Cog/build.win32x86/squeak.stack.v3/Squeak.exe.manifest    2016-03-30 07:32:09 UTC (rev 3665)<br>
&gt;&gt; @@ -12,7 +12,7 @@<br>
&gt;&gt; &lt;description&gt;Squeak Smalltalk Virtual Machine&lt;/description&gt;<br>
&gt;&gt; &lt;asmv3:application&gt;<br>
&gt;&gt;   &lt;asmv3:windowsSettings xmlns=&quot;<a href="http://schemas.microsoft.com/SMI/2005/WindowsSettings" rel="noreferrer" target="_blank">http://schemas.microsoft.com/SMI/2005/WindowsSettings</a>&quot;&gt;<br>
&gt;&gt; -        &lt;dpiAware&gt;true&lt;/dpiAware&gt;<br>
&gt;&gt; +        &lt;dpiAware&gt;false&lt;/dpiAware&gt;<br>
&gt;&gt;   &lt;/asmv3:windowsSettings&gt;<br>
&gt;&gt; &lt;/asmv3:application&gt;<br>
&gt;&gt; &lt;dependency&gt;<br>
&gt;&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>