From 3f04f16dbc3608ddcd67b2848b2fa176a975cc29 Mon Sep 17 00:00:00 2001 From: Liangliang Nan Date: Tue, 16 Jan 2024 17:13:25 +0100 Subject: [PATCH] fixed a typo --- AdTree/viewer_imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdTree/viewer_imgui.cpp b/AdTree/viewer_imgui.cpp index 28c87ae..5302af2 100644 --- a/AdTree/viewer_imgui.cpp +++ b/AdTree/viewer_imgui.cpp @@ -96,7 +96,7 @@ namespace easy3d { io.Fonts->Clear(); io.Fonts->AddFontFromMemoryCompressedTTF(droid_sans_compressed_data, droid_sans_compressed_size, static_cast(font_size * dpi_scaling())); - // If you want to show other languages, e.g., Chinese, you first need to use a TTF font file that support Chinese. You can replace the above line by: + // If you want to show other languages, e.g., Chinese, you first need to use a TTF font file that supports Chinese. You can replace the above line by: // io.Fonts->AddFontFromFileTTF("/Users/lnan/Documents/Projects/Easy3D/resources/fonts/cn_Mao.ttf", static_cast(font_size * dpi_scaling()), nullptr, io.Fonts->GetGlyphRangesChineseSimplifiedCommon()); // Then input the Chinese characters like: (const char*)u8"你好". You can define a macro to make it simpler, e.g., // #define _S(_LITERAL) (const char*)u8##_LITERAL