replaced proprietary arial font with roboto in project manager

This commit is contained in:
Dmitry Stepanov
2024-12-24 14:51:41 +03:00
parent 8607b7396d
commit f08c2e6bd9
3 changed files with 5 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+5 -1
View File
@@ -92,7 +92,11 @@ fn main() {
primary_ui.default_font = FontResource::new_ok(
ResourceKind::Embedded,
Font::from_memory(include_bytes!("../resources/arial.ttf").to_vec(), 1024).unwrap(),
Font::from_memory(
include_bytes!("../resources/Roboto-Regular.ttf").to_vec(),
1024,
)
.unwrap(),
);
let mut project_manager = ProjectManager::new(&mut primary_ui.build_ctx());