The difference is obvious in your screenshot, but I can't repro it. At high DPI on my Win32 Vista SP1, gvim 7.2.147 looks just as sharp as Notepad or Notepad++.
Nevertheless, here's a patch. I tested it on XP SP 2 also. -- /George V. Reilly geo...@reilly.org http://www.georgevreilly.com/blog http://blogs.cozi.com/tech On Wed, Mar 25, 2009 at 8:38 AM, Joe Castro <joe.cas...@hotmail.com> wrote: > Thanks for the quick response. > > > > This is a side by side picture of some XML in notepad and Gvim with this > behavior: > > http://cid-a8c4875178efed94.skydrive.live.com/self.aspx/Public/FuzzyGvim.png > > The system DPI in the shot is 150% normal (144dpi). The font in both is > Consolas. > > > > It's not a clear type issue. When an app doesn't opt-in to DPI awareness > Windows just scales the visuals. I think this is just a matter of calling > user32!SetProcessDPIAware early near the app's entry point, or embedding a > manifest along the lines of: > > <?xml version='1.0' encoding='UTF-8' standalone='yes'?> > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> > <asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> > <asmv3:windowsSettings > xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> > <dpiAware>true</dpiAware> > </asmv3:windowsSettings> > </asmv3:application> > </assembly> > > > > Everything might automatically work if this was done, though it's likely > bitmap images on the menus won't look right. Still I'd rather have fuzzy > pictures than text :) > > Thanks, > > -Joe > > > > From: vim_use@googlegroups.com [mailto:vim_...@googlegroups.com] On Behalf > Of George V. Reilly > Sent: Tuesday, March 24, 2009 9:20 PM > To: vim_use@googlegroups.com > Cc: v...@vim.org > Subject: Re: Feature Request: Dpi awareness on Windows > > > > > > On Tue, Mar 24, 2009 at 1:48 PM, Joe Castro <joe.cas...@hotmail.com> wrote: > > From the website it seemed like this is the place to send feature requests. > > > > It would be great if Gvim was DPI aware. The text is fuzzy in non-96dpi on > Windows Vista and 7. So far I haven't had any luck modifying this by just > adding a manifest next to the exe. > > Picture = 1K words. Please take a few screenshots [1], save them as PNGs, > upload them somewhere (such as http://imagebin.ca/), and send a link to the > Vim mailing list. > > [1] http://www.wikihow.com/Take-a-Screenshot-in-Microsoft-Windows > > Is this perhaps some artficact of ClearType that you dislike? Do other > applications, such as Notepad or Notepad++, exhibit the same problem with > the same fonts? > > -- > > /George V. Reilly geo...@reilly.org > http://www.georgevreilly.com/blog http://blogs.cozi.com/tech > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
vim-high-dpi.patch
Description: Binary data