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