iamola / uniserver

The Uniform Server Git Repo
158 stars 18 forks source link

manifest for controller #3

Closed ghost closed 2 years ago

ghost commented 2 years ago

Win10 shows exe with no dpi awareness blurry if user's DPI is different than 100%,
its an "ease of access" feature for users, but some uses it since they simply like not having tiny tiny UIs...

original manifest ```xml Your application description. False ```

I've tried to patch the exe (no re-building is needed) with https://github.com/eladkarako/manifest using the generic manifest there,
it looked nice and clear but it didn't scale properly (it's fine, and it happens sometimes. mostly when the controls are not anchored to the window's borders at least with .Net, I'm not sure about the cause in other languages..).

with DPI Awareness ```xml true/PM PerMonitorV2,PerMonitor true SegmentHeap ```

Finally I've added GDI Scaling which preserves some of the controls proportions,
but still render the text more clearly,
and it seems to work nicely. The controls borders and menu isn't as clear as without GDI Scaling,
but they not as blurry as without DPI Awareness.

original manifest ```xml true/PM PerMonitorV2,PerMonitor true true SegmentHeap ```

the end result isn't as great as without GDI scaling,
but it is somewhat improved in-compare to without DPI awareness at all.


UniController.exe.manifest_patched_with_dpiawareness_and_gdiscale.zip

UniController.original.exe.zip

sudeepjd commented 2 years ago

Thank you for the updates. I will make the requirement modifications and implement in the next release. I will mark this issue as closed, when I implement it.