highdpi

Troubleshooting DPI Virtualization and DPI-aware applications, in Windows Vista and Windows 7

∥☆過路亽.° 提交于 2019-12-03 02:26:06
问题 I have a problem where an application (written in Delphi) is behaving properly at default 96 DPI settings on all systems, but is behaving inconsistently at the "150% text size" (internally 144 dpi) setting, on different systems. It seems that on some systems, that certain text/font parts of my application are being stretched and on other systems, they aren't. I would have thought that my application, on a certain version of Windows (Win7), at a certain DPI, should behave the same way. Either

How to create a high quality icon for my Windows application?

梦想与她 提交于 2019-12-02 17:03:19
If you are running Windows with a higher DPI setting you will notice that most application icons on the desktop look terrible. Even some high profile application icons such as Google Chrome look terrible while Firefox, Skype and MS Office icons look sharp: (example) I suspect that most icons look blurry because a lower resolution icon is scaled up rather than using a higher resolution icon. I want to give my application a high quality icon and can't seem to convince Windows to use the higher resolution icon. I have created a multi-resolution icon with the icon editor IcoFX . The icon is

Troubleshooting DPI Virtualization and DPI-aware applications, in Windows Vista and Windows 7

吃可爱长大的小学妹 提交于 2019-12-02 15:57:30
I have a problem where an application (written in Delphi) is behaving properly at default 96 DPI settings on all systems, but is behaving inconsistently at the "150% text size" (internally 144 dpi) setting, on different systems. It seems that on some systems, that certain text/font parts of my application are being stretched and on other systems, they aren't. I would have thought that my application, on a certain version of Windows (Win7), at a certain DPI, should behave the same way. Either my application will make it known to Windows that it doesn't need the DPI Virtualization feature, or it

Supporting DPI and Default Font Changes

泄露秘密 提交于 2019-11-29 01:05:01
So I'm trying to figure out how the Form's AutoScaleMode property can possibly help to support a system with a font or DPI that is different from my work development machine. From the SDK: AutoScaleMode Enumeration public enum AutoScaleMode None Automatic scaling is disabled. Font Controls scale relative to the dimensions of the font the classes are using, which is typically the system font. Dpi Controls scale relative to the display resolution. Common resolutions are 96 and 120 DPI. By default .NET 2.0 Forms use AutoScaleMode.Font. So I designed a sample form on my Windows XP, Tahoma 8 pt, 96

How do I get the WVGA Android browser to stop scaling my images?

久未见 提交于 2019-11-28 16:53:35
I'm designing an HTML page for display in Android browsers. Consider this simple example page: <html> <head><title>Simple!</title> </head> <body> <p><img src="http://sstatic.net/so/img/logo.png"></p> </body> </html> It looks just fine on the standard HVGA phones (320x480), but on HDPI WVGA sizes (480x800 or 480x854) the built-in browser automatically scales the image up; it looks ugly. I've read that I should be able to use this tag to force the browser to stop scaling my page: <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user

Automatic rescaling of an application on high-dpi Windows platform?

房东的猫 提交于 2019-11-26 22:33:42
I'm writing a Qt application that needs to run on high-dpi Windows (192dpi instead of 96dpi). Unfortunately the Qt framework does not have support for high-dpi yet (at least on Windows), so my application and all its elements looks half the size it should. Is there any way to force/simulate automatic upscaling of such apps by Windows? Nejat Applications that use fixed coordinates and sizes will look small on high-DPI resolutions. Although even if using layouts there are some issues regarding element and font sizes and margins. Fortunately there is support for high-DPI displays since Qt 5.4 as

How can I set the dpiAware property in a Windows application manifest to “per monitor” in Visual Studio?

我只是一个虾纸丫 提交于 2019-11-26 16:33:16
I need to be able to set the dpiAware property in the manifest of my application to "per monitor". The available choices in the properties are just to enable or disable DPI awareness. Neither of these settings works for me. I can get the behavior I want for my application if I don't embed the manifest in the exe, then edit the manifest manually. I want to automatically generate and embed the manifest. Is there something I am missing? (I am using Visual Studio 2013.) dyasta New in Windows 10 is dpiAwareness as well as dpiAware , so we need to update this example a bit. Now, it is fine because

DPI Awareness - Unaware in one Release, System Aware in the Other [duplicate]

孤人 提交于 2019-11-26 08:50:47
问题 This question already has an answer here: Windows Forms window changes its size when I create a WPF window 3 answers So we have this really odd issue. Our application is a C#/WinForms app. In our 6.0 release, our application is not DPI aware. In our 6.1 release it has suddenly become DPI aware. In the 6.0 release, if you run it in high DPI, it uses Windows bitmap scaling, which is fine, because that does not affect the screen layouts. In the 6.1 release, because it has for some reason become

How can I set the dpiAware property in a Windows application manifest to “per monitor” in Visual Studio?

限于喜欢 提交于 2019-11-26 04:49:24
问题 I need to be able to set the dpiAware property in the manifest of my application to \"per monitor\". The available choices in the properties are just to enable or disable DPI awareness. Neither of these settings works for me. I can get the behavior I want for my application if I don\'t embed the manifest in the exe, then edit the manifest manually. I want to automatically generate and embed the manifest. Is there something I am missing? (I am using Visual Studio 2013.) 回答1: New in Windows 10

DPI Awareness - Unaware in one Release, System Aware in the Other [duplicate]

霸气de小男生 提交于 2019-11-26 02:13:26
This question already has an answer here: Windows Forms window changes its size when I create a WPF window 3 answers So we have this really odd issue. Our application is a C#/WinForms app. In our 6.0 release, our application is not DPI aware. In our 6.1 release it has suddenly become DPI aware. In the 6.0 release, if you run it in high DPI, it uses Windows bitmap scaling, which is fine, because that does not affect the screen layouts. In the 6.1 release, because it has for some reason become DPI aware, the user interfaces get mangled. We are not in a position to fix this right now. We have