From 1f271efbbb2004c3e1b90492a3585a6d9ebd7893 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 16 Mar 2019 15:24:42 +0100 Subject: 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 #4116, closes #1520) --- src/gui_dwrite.cpp | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp index 8e03dff64e..17fa6e798a 100644 --- a/src/gui_dwrite.cpp +++ b/src/gui_dwrite.cpp @@ -822,7 +822,7 @@ DWriteContext::CreateTextFormatFromLOGFONT(const LOGFONTW &logFont, 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 index 2f09e80281..2c91664f6d 100644 --- a/src/version.c +++ b/src/version.c @@ -779,6 +779,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1009, /**/ 1008, /**/ -- cgit v1.2.3