# HG changeset patch # User Bram Moolenaar # Date 1552746606 -3600 # Node ID 6d869997a8b7abe831ef17f4b63b047e06df96bf # Parent 00dc01180daa4b7ce216eee8e97559255b10d9ae patch 8.1.1009: MS-Windows: some text is not baseline aligned commit https://github.com/vim/vim/commit/1f271efbbb2004c3e1b90492a3585a6d9ebd7893 Author: Bram Moolenaar 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) diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp --- 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); diff --git a/src/version.c b/src/version.c --- 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,