Loading ...
Sorry, an error occurred while loading the content.

74233Re: [PATCH] Subpixel rendering artifacts in GUI mode

Expand Messages
  • Ken Takata
    Nov 24, 2013
      Hi Bram,

      2013/11/25 Mon 7:12:56 UTC+9 Bram Moolenaar wrote:
      > Thomas Tuegel wrote:
      > > I recently discovered a graphical glitch that occurs sometimes in GUI
      > > mode. If the GUI is using subpixel rendering, characters may leave
      > > artifacts in their neighbors' cells after being erased. I discovered
      > > this in the GTK+2 frontend, but it could be a problem in any GUI,
      > > though it's highly dependent on a system's subpixel rendering
      > > configuration, the font used, and probably some other variables I
      > > haven't even considered.
      > >
      > > I am sending a patch which corrects the issue by redrawing the
      > > characters immediately to the left or right of any updated character.
      > > This is the approach already taken with bold characters, which have
      > > the same problem. I merely extended the treatment of bold characters
      > > to apply to any updated character whenever Vim is in GUI mode.
      > Is there a reliable way to know if this is needed? Redrawing more for
      > all GUIs seems overkill. e.g. on Windows it would not be needed, right?

      I think this patch fixes the following problem in the todo.txt:

      > 7 Windows XP: When using "ClearType" for text smoothing, a column of yellow
      > pixels remains when typing spaces in front of a "D" ('guifont' set to
      > "lucida_console:h8").

      Maybe it is needed also for Windows.

      Ken Takata

      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 8 messages in this topic