Document that you need to install additional fonts for asian scripts

This commit is contained in:
Emil Ernerfeldt 2023-12-31 10:27:42 +01:00
parent 12468438a3
commit 5cf8a085e3
1 changed files with 4 additions and 0 deletions

View File

@ -333,6 +333,10 @@
//! }); // 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::manual_range_contains)]