summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-16 15:24:42 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-16 15:24:42 +0100
commit1f271efbbb2004c3e1b90492a3585a6d9ebd7893 (patch)
treea1365c44166f8d7e7f823d5adf1acd7051c025cc
parent0251d2d8114f2faae0a5822870af2c6118bfbc15 (diff)
patch 8.1.1009: MS-Windows: some text is not baseline alignedv8.1.1009
Problem: MS-Windows: some text is not baseline aligned. Solution: Use bottom alignment. (Taro Muraoka, closes #4116, closes #1520)
-rw-r--r--src/gui_dwrite.cpp2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -780,6 +780,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1009,
+/**/
1008,
/**/
1007,