From 152133978872f6d6476c3fc7e0e3a5a6cc23b119 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 20 Oct 2021 17:04:27 +0800 Subject: ... --- demos/input_method/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/input_method/main.cpp') diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp index 170e6dec..dc2e0858 100644 --- a/demos/input_method/main.cpp +++ b/demos/input_method/main.cpp @@ -31,7 +31,7 @@ int main() { auto target_clause_brush = graphics_factory->CreateSolidColorBrush(); target_clause_brush->SetColor(colors::blue); - std::shared_ptr font = graphics_factory->CreateFont(u"等线", 30); + std::shared_ptr font = graphics_factory->CreateFont(u"Serif", 30); float window_width = 10000; @@ -53,7 +53,7 @@ int main() { window->PaintEvent()->AddHandler([&](auto) { auto painter = window->BeginPaint(); - painter->Clear(colors::blue); + painter->Clear(colors::white); painter->DrawText(Point{}, prompt_text_layout.get(), brush.get()); -- cgit v1.2.3