mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Document that you need to install additional fonts for asian scripts
This commit is contained in:
@@ -333,6 +333,10 @@
|
|||||||
//! }); // the temporary settings are reverted here
|
//! }); // the temporary settings are reverted here
|
||||||
//! # });
|
//! # });
|
||||||
//! ```
|
//! ```
|
||||||
|
//!
|
||||||
|
//! ## Installing additional fonts
|
||||||
|
//! The default egui fonts only support latin and cryllic characters, and some emojis.
|
||||||
|
//! To use egui with e.g. asian characters you need to install your own font (`.ttf` or `.otf`) using [`Context::set_fonts`].
|
||||||
|
|
||||||
#![allow(clippy::float_cmp)]
|
#![allow(clippy::float_cmp)]
|
||||||
#![allow(clippy::manual_range_contains)]
|
#![allow(clippy::manual_range_contains)]
|
||||||
|
|||||||
Reference in New Issue
Block a user