Home
last modified time | relevance | path

Searched refs:font (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs20 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 Dmod.rs478 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 Dmod.rs1 pub mod font; module
H A Dtextui.rs7 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 Dvga8x16.rs1 use crate::libs::font::FontDesc;
H A Dvga8x8.rs1 use crate::libs::font::FontDesc;
/DragonOS/kernel/src/libs/
H A Dmod.rs28 pub mod font; module
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs15 libs::{font::FontDesc, rwlock::RwLock},
85 pub font: ConsoleFont, field
182 font: Default::default(), in new()