We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let mut font_definitions = FontDefinitions::default(); font_definitions.font_data.insert( "simsum".to_owned(), Arc::new(egui::FontData::from_static(include_bytes!("../assets/simsun.ttc"))), );
egui::TopBottomPanel::top("top_panel").show(ctx, |ui| { ui.horizontal(|ui|{ egui::widgets::global_theme_preference_switch(ui);
The text was updated successfully, but these errors were encountered:
可能是因为字体缺少相应的 unicode 编码?
It might be because the font lacks the corresponding Unicode encoding?
egui/crates/egui/src/memory/theme.rs
Line 49 in cf965aa
Line 57 in cf965aa
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: