linux: basic window, display, and atlas

This commit is contained in:
Dzmitry Malyshau 2024-01-26 23:51:35 -08:00
parent b0376aaf8f
commit e95bf24a1f
8 changed files with 582 additions and 84 deletions

View file

@ -55,13 +55,13 @@ impl Default for LinuxTextSystem {
#[allow(unused)]
impl PlatformTextSystem for LinuxTextSystem {
fn add_fonts(&self, fonts: &[Arc<Vec<u8>>]) -> Result<()> {
unimplemented!()
Ok(()) //TODO
}
fn all_font_names(&self) -> Vec<String> {
unimplemented!()
Vec::new()
}
fn all_font_families(&self) -> Vec<String> {
unimplemented!()
Vec::new()
}
fn font_id(&self, descriptor: &Font) -> Result<FontId> {
unimplemented!()