073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.394
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.394 (after 7.4.393)
073263
Problem:    When using DirectX last italic character is incomplete.
073263
Solution:   Add one to the number of cells. (Ken Takata)
073263
Files:	    src/gui_w32.c
073263
073263
073263
*** ../vim-7.4.393/src/gui_w32.c	2014-08-06 14:52:05.043236174 +0200
073263
--- src/gui_w32.c	2014-08-06 16:45:56.927187071 +0200
073263
***************
073263
*** 2590,2597 ****
073263
  #if defined(FEAT_DIRECTX)
073263
  	if (IS_ENABLE_DIRECTX() && font_is_ttf_or_vector)
073263
  	{
073263
  	    DWriteContext_DrawText(s_dwc, s_hdc, unicodebuf, wlen,
073263
! 		    TEXT_X(col), TEXT_Y(row), FILL_X(cells), FILL_Y(1),
073263
  		    gui.char_width, gui.currFgColor);
073263
  	}
073263
  	else
073263
--- 2590,2598 ----
073263
  #if defined(FEAT_DIRECTX)
073263
  	if (IS_ENABLE_DIRECTX() && font_is_ttf_or_vector)
073263
  	{
073263
+ 	    /* Add one to "cells" for italics. */
073263
  	    DWriteContext_DrawText(s_dwc, s_hdc, unicodebuf, wlen,
073263
! 		    TEXT_X(col), TEXT_Y(row), FILL_X(cells + 1), FILL_Y(1),
073263
  		    gui.char_width, gui.currFgColor);
073263
  	}
073263
  	else
073263
*** ../vim-7.4.393/src/version.c	2014-08-06 14:52:05.047236174 +0200
073263
--- src/version.c	2014-08-06 16:46:54.279186658 +0200
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     394,
073263
  /**/
073263
073263
-- 
073263
The average life of an organization chart is six months.  You can safely
073263
ignore any order from your boss that would take six months to complete.
073263
				(Scott Adams - The Dilbert principle)
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///