changeset 16007:6d869997a8b7 v8.1.1009

patch 8.1.1009: MS-Windows: some text is not baseline aligned commit https://github.com/vim/vim/commit/1f271efbbb2004c3e1b90492a3585a6d9ebd7893 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 16 15:24:42 2019 +0100 patch 8.1.1009: MS-Windows: some text is not baseline aligned Problem: MS-Windows: some text is not baseline aligned. Solution: Use bottom alignment. (Taro Muraoka, closes https://github.com/vim/vim/issues/4116, closes https://github.com/vim/vim/issues/1520)
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Mar 2019 15:30:06 +0100
parents 00dc01180daa
children 1ef7f0cb7c61
files src/gui_dwrite.cpp src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_dwrite.cpp
+++ b/src/gui_dwrite.cpp
@@ -822,7 +822,7 @@ DWriteContext::CreateTextFormatFromLOGFO
 
     if (SUCCEEDED(hr))
 	hr = pTextFormat->SetParagraphAlignment(
-		DWRITE_PARAGRAPH_ALIGNMENT_CENTER);
+		DWRITE_PARAGRAPH_ALIGNMENT_FAR);
 
     if (SUCCEEDED(hr))
 	hr = pTextFormat->SetWordWrapping(DWRITE_WORD_WRAPPING_NO_WRAP);
--- a/src/version.c
+++ b/src/version.c
@@ -780,6 +780,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1009,
+/**/
     1008,
 /**/
     1007,