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

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

Expand Messages
  • Bram Moolenaar
    Nov 24, 2013
      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?


      --
      Q: What's a light-year?
      A: One-third less calories than a regular year.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      --
      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