/osnet-11/usr/src/grub/grub2/grub-core/font/ |
H A D | font_cmd.c | 20 #include <grub/font.h> 32 return grub_error (GRUB_ERR_BAD_ARGUMENT, "no font specified"); 38 return grub_error (GRUB_ERR_BAD_FONT, "invalid font"); 55 grub_font_t font = node->value; local 56 grub_printf ("%s\n", grub_font_get_name (font)); 64 GRUB_MOD_INIT(font) 71 N_("Specify one or more font files to load.")); 77 GRUB_MOD_FINI(font)
|
H A D | font.c | 0 /* font.c - Font API and font file loader. */ 23 #include <grub/font.h> 74 /* Definition of font registry. */ 77 static int register_font (grub_font_t font); 78 static void font_init (grub_font_t font); 79 static void free_font (grub_font_t font); 80 static void remove_font (grub_font_t font); 121 /* The font structure used when no other font i 206 font_init(grub_font_t font) argument 287 load_font_index(grub_file_t file, grub_uint32_t sect_length, struct grub_font *font) argument 429 grub_font_t font = 0; local 669 find_glyph(const grub_font_t font, grub_uint32_t code) argument 711 grub_font_get_glyph_internal(grub_font_t font, grub_uint32_t code) argument 793 free_font(grub_font_t font) argument 811 register_font(grub_font_t font) argument 829 remove_font(grub_font_t font) argument 859 grub_font_t font = node->value; local 875 grub_font_get_name(grub_font_t font) argument 882 grub_font_get_max_char_width(grub_font_t font) argument 889 grub_font_get_max_char_height(grub_font_t font) argument 896 grub_font_get_ascent(grub_font_t font) argument 904 grub_font_get_descent(grub_font_t font) argument 911 grub_font_get_xheight(grub_font_t font) argument 921 grub_font_get_leading(grub_font_t font) argument 928 grub_font_get_height(grub_font_t font) argument 937 grub_font_get_glyph(grub_font_t font, grub_uint32_t code) argument 991 grub_font_get_glyph_with_fallback(grub_font_t font, grub_uint32_t code) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | font.c | 0 /* font.c - Font API and font file loader. */ 23 #include <grub/font.h> 38 a glyph from another loaded font may be used instead. */ 40 grub_font_draw_string (const char *str, grub_font_t font, argument 63 glyph = grub_font_construct_glyph (font, ptr); 79 in the specified font (but falling back on other fonts for glyphs that 82 grub_font_get_string_width (grub_font_t font, const char *str) argument 103 width += grub_font_get_constructed_device_width (font, &glyph);
|
H A D | gui_label.c | 23 #include <grub/font.h> 50 grub_font_t font; member in struct:grub_gui_label 98 - grub_font_get_string_width (self->font, self->text)) / 2; 101 - grub_font_get_string_width (self->font, self->text)); 111 self->font, 114 grub_font_get_ascent (self->font)); 150 *width = grub_font_get_string_width (self->font, self->text); 151 *height = (grub_font_get_ascent (self->font) 152 + grub_font_get_descent (self->font)); 185 else if (grub_strcmp (name, "font") [all...] |
H A D | gui_progress_bar.c | 23 #include <grub/font.h> 42 grub_font_t font; member in struct:grub_gui_progress_bar 163 grub_font_t font = self->font; local 178 int text_width = grub_font_get_string_width (font, text); 180 int y = ((height - grub_font_get_descent (font)) / 2 181 + grub_font_get_ascent (font) / 2); 182 grub_font_draw_string (text, font, text_color, x, y); 249 text_width = grub_font_get_string_width (self->font, self->template); 250 text_width += grub_font_get_string_width (self->font, "XXXXXXXXX [all...] |
H A D | gui_list.c | 269 grub_font_t font = local 278 font,
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | font.h | 28 Users only pass struct grub_font pointers to the font module functions, 32 /* Font type used to access font functions. */ 41 /* Global font registry. */ 46 /* Reference to the font this glyph belongs to. */ 47 grub_font_t font; member in struct:grub_font_glyph 78 /* Initialize the font loader. 82 /* Load a font and add it to the beginning of the global font list. 86 /* Get the font that has the specified name. Font names are in the form 88 If no font matche [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/term/ |
H A D | gfxterm.c | 24 #include <grub/font.h> 86 grub_font_t font; member in struct:grub_virtual_screen 141 static unsigned int calculate_normal_character_width (grub_font_t font); 214 virtual_screen.font = grub_font_get (font_name); 215 if (!virtual_screen.font) 217 "no font loaded"); 223 calculate_normal_character_width (virtual_screen.font); 225 grub_font_get_max_char_height (virtual_screen.font); 346 /* Select the font to use. */ 349 font_name = ""; /* Allow fallback to any font 923 calculate_normal_character_width(grub_font_t font) argument [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-mkimage.c | 1641 {"font", required_argument, 0, 'f'}, 1711 char *font = NULL; 1710 char *font = NULL; local
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | optget.c | 1170 font(int f, int style, int set) function 1370 sfputr(sp, font(f, style, 1), -1); 1393 sfputr(sp, font(f, style, 0), -1); 1446 sfputr(sp, font(f, style, 0), -1); 1471 , font(a, style, 1) 1473 , font(a, style, 0) 1481 sfputr(sp, font(a, style, !!(f ^= a)), -1); 1585 sfputr(sp, font(f, style, 0), -1); 1621 sfprintf(sp, "\t%s%s%s%s[%s%s%s%s%s]", font(FONT_BOLD, style, 1), a, font(FONT_BOL [all...] |