Home
last modified time | relevance | path

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

12

/linux/lib/fonts/
H A DMakefile4 font-objs := fonts.o
6 font-objs-$(CONFIG_FONT_SUN8x16) += font_sun8x16.o
7 font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o
8 font-objs-$(CONFIG_FONT_8x8) += font_8x8.o
9 font-objs-$(CONFIG_FONT_8x16) += font_8x16.o
10 font-objs-$(CONFIG_FONT_6x11) += font_6x11.o
11 font-objs-$(CONFIG_FONT_7x14) += font_7x14.o
12 font-objs-$(CONFIG_FONT_10x18) += font_10x18.o
13 font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
14 font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o
[all …]
H A DKconfig25 bool "VGA 8x8 font" if FONTS
29 This is the "high resolution" font for the VGA frame buffer (the one
32 Note that this is a poor quality font. The VGA 8x16 font is quite a
39 bool "VGA 8x16 font" if FONTS
42 This is the "high resolution" font for the VGA frame buffer (the one
48 bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
52 Small console font with Macintosh-style high-half glyphs. Some Mac
56 bool "console 7x14 font (not supported by all drivers)" if FONTS
59 Console font with characters just a bit smaller than the default.
60 If the standard 8x16 font is a little too big for you, say Y.
[all …]
/linux/drivers/firmware/efi/
H A Dearlycon.c18 static const struct font_desc *font; variable
105 for (i = 0; i < height - font->height; i++) { in efi_earlycon_scroll_up()
110 src = efi_earlycon_map((i + font->height) * len, len); in efi_earlycon_scroll_up()
131 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
132 src = font->data + c * font->height * bytes + h * bytes; in efi_earlycon_write_char()
134 for (m = 0; m < font->width; m++) { in efi_earlycon_write_char()
158 unsigned int linemax = (si->lfb_width - efi_x) / font->width; in efi_earlycon_write()
165 for (h = 0; h < font->height; h++) { in efi_earlycon_write()
178 x += font->width; in efi_earlycon_write()
186 efi_x += count * font->width; in efi_earlycon_write()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_panic.c263 const struct font_desc *font, in draw_txt_rectangle() argument
272 size_t font_pitch = DIV_ROUND_UP(font->width, 8); in draw_txt_rectangle()
275 msg_lines = min(msg_lines, drm_rect_height(clip) / font->height); in draw_txt_rectangle()
277 size_t line_len = min(msg[i].len, drm_rect_width(clip) / font->width); in draw_txt_rectangle()
279 rec.y1 = clip->y1 + i * font->height; in draw_txt_rectangle()
280 rec.y2 = rec.y1 + font->height; in draw_txt_rectangle()
284 rec.x1 += (drm_rect_width(clip) - (line_len * font->width)) / 2; in draw_txt_rectangle()
287 src = drm_draw_get_char_bitmap(font, msg[i].txt[j], font_pitch); in draw_txt_rectangle()
288 rec.x2 = rec.x1 + font->width; in draw_txt_rectangle()
290 rec.x1 += font->width; in draw_txt_rectangle()
[all …]
H A Ddrm_draw_internal.h21 static inline const u8 *drm_draw_get_char_bitmap(const struct font_desc *font, in drm_draw_get_char_bitmap() argument
24 return font->data + (c * font->height) * font_pitch; in drm_draw_get_char_bitmap()
/linux/Documentation/sphinx-static/
H A Dtheme_overrides.css11 font-family: serif;
12 font-size: 100%;
16 font-family: sans-serif;
20 font-family: monospace;
21 font-size: 100%;
25 font-family: sans-serif;
29 font-style: normal;
33 font-size: 100%;
76 .rst-content table.docutils caption { text-align: left; font-size: 100%; }
80 * - captions should have 100% (not 85%) font size
[all …]
H A Dcustom.css7 div.body h1 { font-size: 180%; }
8 div.body h2 { font-size: 150%; }
9 div.body h3 { font-size: 130%; }
10 div.body h4 { font-size: 110%; }
13 div.toctree-wrapper p.caption[role=heading] { font-size: 150%; }
18 div.sphinxsidebar { font-size: inherit;
40 dt.sig-object { font-size: larger; }
46 div.kerneltoc li.toctree-l1 { font-size: smaller;
49 div.kerneltoc li.current > a {font-weight: bold; }
50 div.kerneltoc li.toctree-l2,li.toctree-l3 { font-size: small;
[all …]
/linux/drivers/video/
H A Dsticore.c159 struct sti_cooked_font *font) in sti_putc() argument
163 .font_start_addr = (void *)STI_PTR(font->raw), in sti_putc()
167 .dest_x = x * font->width, in sti_putc()
168 .dest_y = y * font->height, in sti_putc()
231 int height, int width, int c, struct sti_cooked_font *font) in sti_clear() argument
237 .src_x = src_x * font->width, in sti_clear()
238 .src_y = src_y * font->height, in sti_clear()
239 .dest_x = src_x * font->width, in sti_clear()
240 .dest_y = src_y * font->height, in sti_clear()
241 .width = width * font->width, in sti_clear()
[all …]
/linux/Documentation/input/
H A Dinteractive.svg18 …<text x="2775" y="7725" font-family="sans-serif" font-size="144px" stroke="#000000" stroke-width="…
19 …<text x="5400" y="5700" font-family="sans-serif" font-size="144px" stroke="#000000" stroke-width="…
20 …<text x="5400" y="3600" font-family="sans-serif" font-size="144px" stroke="#000000" stroke-width="…
21 …<text x="5400" y="3900" font-family="sans-serif" font-size="144px" stroke="#000000" stroke-width="…
22 …<text x="5475" y="5100" font-family="sans-serif" font-size="144px" stroke="#000000" stroke-width="…
23 …<text x="5400" y="4425" font-family="sans-serif" font-size="144px" stroke="#000000" stroke-width="…
H A Dshape.svg33 …<text x="5953.125" y="5256.6001" fill="#000000" font-family="sans-serif" font-size="144px" stroke-…
34 …<text x="10078.125" y="2931.5999" fill="#000000" font-family="sans-serif" font-size="144px" stroke…
35 …<text x="9028.125" y="3381.5999" fill="#000000" font-family="sans-serif" font-size="144px" stroke-…
36 …<text x="4153.125" y="1131.6" fill="#000000" font-family="sans-serif" font-size="144px" stroke-wid…
37 …<text x="8053.125" y="1131.6" fill="#000000" font-family="sans-serif" font-size="144px" stroke-wid…
38 …<text x="2803.125" y="3306.5999" fill="#000000" font-family="sans-serif" font-size="144px" stroke-…
/linux/arch/sparc/kernel/
H A Dbtext.c195 const unsigned char *font = font_sun_8x16.data + font_index; in draw_byte() local
201 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte()
205 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte()
208 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte()
240 static void draw_byte_32(const unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument
248 bits = *font++; in draw_byte_32()
261 static void draw_byte_16(const unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument
270 bits = *font++; in draw_byte_16()
279 static void draw_byte_8(const unsigned char *font, unsigned int *base, int rb) in draw_byte_8() argument
288 bits = *font++; in draw_byte_8()
/linux/arch/powerpc/kernel/
H A Dbtext.c407 static void draw_byte_32(const unsigned char *font, unsigned int *base, int rb) in draw_byte_32() argument
415 bits = *font++; in draw_byte_32()
428 static inline void draw_byte_16(const unsigned char *font, unsigned int *base, int rb) in draw_byte_16() argument
437 bits = *font++; in draw_byte_16()
446 static inline void draw_byte_8(const unsigned char *font, unsigned int *base, int rb) in draw_byte_8() argument
455 bits = *font++; in draw_byte_8()
466 const unsigned char *font = font_sun_8x16.data + font_index; in draw_byte() local
473 draw_byte_32(font, (unsigned int *)base, rb); in draw_byte()
477 draw_byte_16(font, (unsigned int *)base, rb); in draw_byte()
480 draw_byte_8(font, (unsigned int *)base, rb); in draw_byte()
/linux/drivers/gpu/drm/clients/
H A Ddrm_log.c42 const struct font_desc *font; member
111 const struct font_desc *font = scanout->font; in drm_log_draw_line() local
112 size_t font_pitch = DIV_ROUND_UP(font->width, 8); in drm_log_draw_line()
125 src = drm_draw_get_char_bitmap(font, s[i], font_pitch); in drm_log_draw_line()
199 scanout->font = get_default_font(width, height, NULL, NULL); in drm_log_setup_modeset()
200 if (!scanout->font) in drm_log_setup_modeset()
214 scanout->scaled_font_h = scanout->font->height * scale; in drm_log_setup_modeset()
215 scanout->scaled_font_w = scanout->font->width * scale; in drm_log_setup_modeset()
/linux/include/video/
H A Dsticore.h47 #define sti_font_x(sti) (PTR_STI(sti->font)->width)
48 #define sti_font_y(sti) (PTR_STI(sti->font)->height)
363 struct sti_cooked_font *font; /* ptr to selected font (cooked) */ member
397 struct sti_cooked_font *font);
401 int height, int width, int c, struct sti_cooked_font *font);
404 struct sti_cooked_font *font);
/linux/drivers/video/fbdev/core/
H A Dfbcon.c945 const struct font_desc *font = NULL; in fbcon_startup() local
982 if (!fontname[0] || !(font = find_font(fontname))) in fbcon_startup()
983 font = get_default_font(info->var.xres, in fbcon_startup()
987 vc->vc_font.width = font->width; in fbcon_startup()
988 vc->vc_font.height = font->height; in fbcon_startup()
989 vc->vc_font.data = (void *)(p->fontdata = font->data); in fbcon_startup()
990 vc->vc_font.charcount = font->charcount; in fbcon_startup()
1057 const struct font_desc *font = NULL; in fbcon_init() local
1059 if (!fontname[0] || !(font = find_font(fontname))) in fbcon_init()
1060 font = get_default_font(info->var.xres, in fbcon_init()
[all …]
/linux/drivers/video/console/
H A Dvgacon.c1042 static int vgacon_font_set(struct vc_data *c, const struct console_font *font, in vgacon_font_set() argument
1045 unsigned charcount = font->charcount; in vgacon_font_set()
1051 if (font->width != VGA_FONTWIDTH || font->height > 32 || vpitch != 32 || in vgacon_font_set()
1055 rc = vgacon_do_font_op(&vgastate, font->data, 1, charcount == 512); in vgacon_font_set()
1060 rc = vgacon_adjust_height(c, font->height); in vgacon_font_set()
1064 static int vgacon_font_get(struct vc_data *c, struct console_font *font, unsigned int vpitch) in vgacon_font_get() argument
1069 font->width = VGA_FONTWIDTH; in vgacon_font_get()
1070 font->height = c->vc_font.height; in vgacon_font_get()
1071 font->charcount = vga_512_chars ? 512 : 256; in vgacon_font_get()
1072 if (!font->data) in vgacon_font_get()
[all …]
H A Dsticon.c59 #define STI_DEF_FONT sticon_sti->font
257 static int sticon_font_set(struct vc_data *vc, const struct console_font *font, in sticon_font_set() argument
260 return sticon_set_font(vc, font, vpitch); in sticon_font_set()
269 vc_cols = sti_onscreen_x(sti) / sti->font->width; in sticon_init()
270 vc_rows = sti_onscreen_y(sti) / sti->font->height; in sticon_init()
/linux/Documentation/admin-guide/
H A Dunicode.rst15 characters to fonts. By downloading a single Unicode-to-font table,
17 the font as indicated.
31 In particular, ESC ( U is no longer "straight to font", since the font
33 permits for example the use of block graphics even with a Latin-1 font
49 hard-coded to map directly to the loaded font, bypassing the
124 Unicode practice these differences are considered font variants.
H A Dsvga.rst33 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA.
134 0x0f01 standard with 8-point font: 80x43 on EGA, 80x50 on VGA
135 0x0f02 VGA 80x43 (VGA switched to 350 scanlines with a 8-point font)
136 0x0f03 VGA 80x28 (standard VGA scans, but 14-point font)
138 0x0f05 VGA 80x30 (480 scans, 16-point font)
139 0x0f06 VGA 80x34 (480 scans, 14-point font)
140 0x0f07 VGA 80x60 (480 scans, 8-point font)
/linux/Documentation/sphinx/
H A Dkerneldoc-preamble.sty61 % \setlength{\tymin}{3\fontcharwd\font`0 }
80 % Load xeCJK when both the Noto Sans CJK font and xeCJK.sty are available.
96 % CJK Language-specific font choices
141 % Define custom macros for switching CJK font setting
217 due to the lack of suitable font families and/or the texlive-xecjk
221 font families along with the texlive-xecjk package by following
224 Having optional non-variable ``Noto Serif CJK'' font families will
/linux/Documentation/fb/
H A Dpvr2fb.rst29 font:X default font to use. All fonts are supported, including the
30 SUN12x22 font which is very nice at high resolutions.
H A Dtgafb.rst44 font:X default font to use. All fonts are supported, including the
45 SUN12x22 font which is very nice at high resolutions.
H A Dfbcon.rst15 high resolutions, varying font types, display rotation, primitive multihead,
38 Also, you will need to select at least one compiled-in font, but if
40 usually an 8x16 font.
81 1. fbcon=font:<name>
83 Select the initial font to use. The value 'name' can be any of the
87 Note, not all drivers can handle font with widths not divisible by 8,
/linux/include/linux/
H A Dconsole.h108 const struct console_font *font,
110 int (*con_font_get)(struct vc_data *vc, struct console_font *font,
113 struct console_font *font, const char *name);
/linux/drivers/tty/vt/
H A Dvt.c99 #include <linux/font.h>
1744 * Select primary font, don't display control chars if in csi_m()
1752 * Select first alternate font, lets chars < 32 be in csi_m()
1760 * Select second alternate font, toggle high bit in csi_m()
2924 * useless without them; to display an arbitrary font position use the in vc_is_control()
2925 * direct-to-font zone in UTF-8 mode. in vc_is_control()
2970 * mind, but do this for ASCII characters since a font in vc_con_write_normal()
4718 struct console_font font; in con_font_get()
4727 font.data = kvzalloc(max_font_size, GFP_KERNEL); in con_font_get()
4728 if (!font in con_font_get()
4720 struct console_font font; con_font_get() local
4770 struct console_font font; con_font_set() local
4814 struct console_font font = {.width = op->width, .height = op->height}; con_font_default() local
[all...]

12