fix font test
This commit is contained in:
parent
547e4d7517
commit
a27b7ea0b0
@ -178,7 +178,13 @@ fn test_file_data() {
|
|||||||
),
|
),
|
||||||
(
|
(
|
||||||
"emoji-icon-font".to_owned(),
|
"emoji-icon-font".to_owned(),
|
||||||
FontData::from_owned(include_bytes!("../assets/emoji-icon-font.ttf").to_vec()),
|
FontData::from_owned(include_bytes!("../assets/emoji-icon-font.ttf").to_vec()).tweak(
|
||||||
|
egui::FontTweak {
|
||||||
|
scale: 0.8,
|
||||||
|
y_offset_factor: 0.07,
|
||||||
|
y_offset: 0.0,
|
||||||
|
},
|
||||||
|
),
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user