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)
diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp
index 8e03dff..17fa6e7 100644
--- a/src/gui_dwrite.cpp
+++ b/src/gui_dwrite.cpp
@@ -822,7 +822,7 @@
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);