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 #4116, closes #1520)
This commit is contained in:
parent
0251d2d811
commit
1f271efbbb
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -779,6 +779,8 @@ static char *(features[]) =
|
|||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1009,
|
||||
/**/
|
||||
1008,
|
||||
/**/
|
||||
|
|
Loading…
Add table
Reference in a new issue