feat: 添加剪贴板支持和IME管理功能,更新相关接口和实现
This commit is contained in:
@@ -32,7 +32,7 @@ int main(int argc, char* argv[]) {
|
||||
auto tex_size = app.texture_mgr()->get_texture(texture_id)->size().cast<float>();
|
||||
|
||||
// 加载字体
|
||||
auto font_result = app.font_mgr()->load_font(R"(C:\Windows\Fonts\SIMYOU.TTF)");
|
||||
auto font_result = app.font_mgr()->load_font(R"(C:\Windows\Fonts\msyh.ttc)");
|
||||
if (!font_result.has_value())
|
||||
throw std::runtime_error("加载字体失败");
|
||||
auto font_id = font_result.value();
|
||||
|
||||
Reference in New Issue
Block a user