Skip to content

Commit 696dac2

Browse files
authored
wpf: force builtin glyphs (#18906)
They're much prettier, but some users may not be 100% happy.
1 parent c64a9d2 commit 696dac2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cascadia/TerminalControl/HwndTerminal.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@ void _stdcall TerminalSetTheme(void* terminal, TerminalTheme theme, LPCWSTR font
972972
publicTerminal->_terminal->SetCursorStyle(static_cast<Microsoft::Console::VirtualTerminal::DispatchTypes::CursorStyle>(theme.CursorStyle));
973973

974974
publicTerminal->_desiredFont = { fontFamily, 0, DEFAULT_FONT_WEIGHT, static_cast<float>(fontSize), CP_UTF8 };
975+
publicTerminal->_desiredFont.SetEnableBuiltinGlyphs(true);
975976
publicTerminal->_UpdateFont(newDpi);
976977
}
977978

0 commit comments

Comments
 (0)