1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-04-09 11:16:12 +02: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 , closes )
This commit is contained in:
Bram Moolenaar 2019-03-16 15:24:42 +01:00
parent 0251d2d811
commit 1f271efbbb
2 changed files with 3 additions and 1 deletions

View file

@ -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);

View file

@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1009,
/**/
1008,
/**/