I have a new PC which has a 13 inch 1920x1080 display. It comes with a W10 display configuration with a zoom of 150% (recommended) for the texts and applications.
It works well for other applications but geany is now blurred. The icon as well. cf image.
Could you do something ??
![image](https://cloud.githubusercontent.com/assets/7809481/10431434/4fc2b0bc-7105-11...)
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692
Seems like there are no windows 10 Geany users (yet) that can confirm/help. I am not aware of any of the developers having W10.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692#issuecomment-150459291
Ok. Have you seen my screenshoot ?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692#issuecomment-150528997
Well, at least on my screen there does not seem to be much blurriness visible in the screenshot I'm afraid. Might be more visible on others systems.
In general blurry text (I assume its text you are complaining of) is caused by anti-aliased fonts. I don't know what fonts are used by GTK on Windows.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692#issuecomment-150539534
How did you do the screenshot? Maybe it depends on how the tool is grabbing imaging data as the screenshot looks like it should look like.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692#issuecomment-150558687
I just do a print screen with the dedicated key. Here is a new print screen (part of a wqhd, with 200% w10-zoom). Note that the text in geany is blurred, but the title of the window ("* sans titre - Geany" ) is ok. Think that window's title is powered directly by OS.
Do you see the difference ?? ![image](https://cloud.githubusercontent.com/assets/7809481/10693592/866eadcc-7999-11...)
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692#issuecomment-150569252
It sounds like "DPI Virtualization":
https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266%28v=vs.85%...
Specifically:
The type of scaling that DPI virtualization uses when scaling up in size is based on pixel stretching. While this enables applications to be appropriately sized, blurriness occurs due to the stretched pixels.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692#issuecomment-150589430
@Matthew, it seems effectively to be the problem of non DPI-aware applications.
The good news is that it is the same on windows 8 so maybee Geany project have users/developpers to test it.
Doom.
2015-10-23 16:26 GMT+02:00 Matthew Brush notifications@github.com:
It sounds like "DPI Virtualization":
https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266%28v=vs.85%...
Specifically:
The type of scaling that DPI virtualization uses when scaling up in size is based on pixel stretching. While this enables applications to be appropriately sized, blurriness occurs due to the stretched pixels.
— Reply to this email directly or view it on GitHub https://github.com/geany/geany/issues/692#issuecomment-150589430.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/692#issuecomment-150603812
Any progress on this? Still getting this on Windows 10
@acz13 its not something Geany can influence I don't think, how text is drawn is defined by the GTK library.
You could try to build a GTK3 version of Geany to see if its improved with GTK3.
@elextr I just built for Windows with GTK3 and it did not help. Just as blurry as the GTK2 Version
(This is just for the record, I won't invest any time for further testing, as I do not use Windows at all)
@ashimokawa thanks for testing, @acz13 the issue would need to be taken up with GTK.
GTK or GTK#?
@doom-fr This issue is a common one with Windows on HighDPI displays. Fixed it for me by right-clicking on the Geany Icon->Properties. There, go to the Compatibility Tab and select "Override High DPI Scaling behavior". And in the "Scaling performed by:" dropdown, select Application.
@RT-Git Thanks for this good solution.
D.
Closed #692.
@ravitripathi Thank you for this workaround. It also works right-clicking the `geany.exe` directly.
Could the Geany developers please provide this by default - or does this dpiWare=true setting has any negative impact I'm not aware of?
I have implemented HiDPI support for our Java/SWT-based application. According to my knowledge, the application only needs to know on what zoom level it is launched and use larger images for the toolbar or menu items, or for own draw-operations with some fixed size values (not derived from font sizes). For our application this was no rocket science.
@tmssngr Glad it helped. And I do agree with you, this should be handled by the application itself. There is a whole by [article](https://docs.microsoft.com/en-us/windows/desktop/hidpi/high-dpi-desktop-appl...) microsoft dedicated to it.
@ravitripathi clearly the rendering libraries Geany uses (GTK, Pango) already do DPI aware rendering if setting that property to "Application" makes it work. Feel free to contribute a pull request that makes the windows build/install process set the property automatically.
I would try to use following `geany.exe.manifest`:
``` <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.33.0.0" processorArchitecture="X86" name="Geany" type="win32" /> <description>Geany is a fast and lightweight IDE</description> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false" /> </requestedPrivileges> </security> </trustInfo>
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings%22%3E <dpiAware>true</dpiAware> </asmv3:windowsSettings> </asmv3:application> </assembly>
```
@eht16 whatdya think?
If it helps, why not. I don't have any suitable hardware to test but I would test at least that this change does not affect non-HighDPI systems. Will do tomorrow and report back.
Tested and it works for me on Windows 7 without a HighDPI system. @tmssngr do you mind testing http://download.geany.org/snapshots/geany-1.34beta1_setup.exe and http://download.geany.org/snapshots/geany-plugins-1.34beta1_setup.exe? They have the suggested change incorporated. If it works as expected, we could prepare a PR for the change.
1.34beta 1 looks fine for me - except of the too small icons.
Cool. Would you mind creating a PR for the manifest file change?
github-comments@lists.geany.org