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