[Vm-dev] Re: DPI Virtualization

Eliot Miranda eliot.miranda at gmail.com
Mon Oct 20 03:06:46 UTC 2014


Hi Marcel,

On Sun, Oct 19, 2014 at 7:21 PM, Marcel Taeumel <
marcel.taeumel at student.hpi.uni-potsdam.de> wrote:

>
> Is there a way to check for this flag within the running image? If we had
> appropriate fonts and pictures and stuff, we still need that condition to
> activate them.
>

There's no primitive to access it. You could call GetProcessDPIAwareness
through the FFI, see
http://msdn.microsoft.com/en-us/library/windows/desktop/dn302113(v=vs.85).aspx.
But perhaps this merits a generic vm parameter or primitive?  e.g.
DisplayScreen>>isScaled or some such?
-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20141019/33de9217/attachment.htm


More information about the Vm-dev mailing list