mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
When using a custom font you can now specify a font index (#873)
When using a custom font you can now specify a font index Closes https://github.com/emilk/egui/issues/853
This commit is contained in:
@@ -385,12 +385,15 @@ pub use epaint::emath;
|
||||
pub use emath::{lerp, pos2, remap, remap_clamp, vec2, Align, Align2, NumExt, Pos2, Rect, Vec2};
|
||||
pub use epaint::{
|
||||
color, mutex,
|
||||
text::{FontDefinitions, FontFamily, TextStyle},
|
||||
text::{FontData, FontDefinitions, FontFamily, TextStyle},
|
||||
ClippedMesh, Color32, Rgba, Shape, Stroke, Texture, TextureId,
|
||||
};
|
||||
|
||||
pub mod text {
|
||||
pub use epaint::text::{Fonts, Galley, LayoutJob, LayoutSection, TextFormat, TAB_SIZE};
|
||||
pub use epaint::text::{
|
||||
FontData, FontDefinitions, FontFamily, Fonts, Galley, LayoutJob, LayoutSection, TextFormat,
|
||||
TextStyle, TAB_SIZE,
|
||||
};
|
||||
}
|
||||
|
||||
pub use {
|
||||
|
||||
Reference in New Issue
Block a user