mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user