Searched refs:font (Results 1 – 8 of 8) sorted by relevance
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | framebuffer_console.rs | 20 font::FontDesc, 139 let byte_width = vc_data.font.width as usize / 8; in bit_put_string() 140 let font_height = vc_data.font.height as usize; in bit_put_string() 150 let src = &vc_data.font.data[font_offset..font_offset_end]; in bit_put_string() 201 let font = FontDesc::get_default_font(var.xres, var.yres, 0, 0); in con_init() localVariable 202 vc_data.font.data = font.data.to_vec(); in con_init() 203 vc_data.font.width = font.width; in con_init() 204 vc_data.font.height = font.height; in con_init() 205 vc_data.font.count = font.char_count; in con_init() 213 if vc_data.font.count == 256 { in con_init() [all …]
|
H A D | mod.rs | 478 let mut offset = if vc_data.font.height < 10 { 1 } else { 2 } as usize; in update_attr() 480 let width = (vc_data.font.width + 7) / 8; in update_attr() 481 let cellsize = (vc_data.font.height * width) as usize; in update_attr()
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | mod.rs | 1 pub mod font; module
|
H A D | textui.rs | 7 lib_ui::font::FONT_8x16, 428 let font: Font = Font::get_font(self.c.unwrap_or(' ')); in textui_refresh_character() localVariable 440 if font.is_frcolor(i as usize, j as usize) { in textui_refresh_character() 457 let font = Font::get_font(self.c.unwrap_or(' ')); in no_init_textui_render_chromatic() localVariable 495 if (font.0[i as usize] & testbit as u8) != 0 { in no_init_textui_render_chromatic()
|
/DragonOS/kernel/src/libs/font/font_type/ |
H A D | vga8x16.rs | 1 use crate::libs::font::FontDesc;
|
H A D | vga8x8.rs | 1 use crate::libs::font::FontDesc;
|
/DragonOS/kernel/src/libs/ |
H A D | mod.rs | 28 pub mod font; module
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | virtual_console.rs | 15 libs::{font::FontDesc, rwlock::RwLock}, 85 pub font: ConsoleFont, field 182 font: Default::default(), in new()
|