/src/distrib/syspkg/sets/base/base-groff-font/ |
Makefile | 3 PKGBASE=base-groff-font
|
/src/distrib/syspkg/sets/text/text-groff-font/ |
Makefile | 3 PKGBASE=text-groff-font
|
/src/sys/dev/wsfont/ |
wsfont.h | 36 #define WSFONT_FLAG_OPT 0x01000000 /* use alternate font */ 37 #define WSFONT_GLYPH(c, font) ((uint8_t *)font->data + \ 38 ((c) - font->firstchar) * font->stride * font->fontheight) 44 * struct wsdisplay_font *font; 50 * panic("unable to get 8x16 font"); 52 * if (wsfont_lock(cookie, &font)) 53 * panic("unable to lock font"); [all...] |
wsfont.c | 213 /* Make sure we always have at least one bitmap font. */ 231 #define WSFONT_STATIC 0x02 /* Font structures not malloc()ed */ 232 #define WSFONT_COPY 0x04 /* Copy of existing font in table */ 235 struct font { struct 236 TAILQ_ENTRY(font) chain; 237 struct wsdisplay_font *font; member in struct:font 244 static struct font builtin_fonts[] = { 347 static TAILQ_HEAD(,font) list; 386 static struct font *wsfont_find0(int, int); 387 static struct font *wsfont_add0(struct wsdisplay_font *, int) 546 struct wsdisplay_font *font; local in function:wsfont_rotate [all...] |
/src/distrib/syspkg/sets/text/ |
Makefile | 5 SUBDIR+=text-groff-font
|
/src/sys/dev/hpc/ |
hpcfbvar.h | 51 void (*font)(void *, struct wsdisplay_font *); /* load fonts */ member in struct:hpcfb_accessops
|
/src/sys/arch/sgimips/gio/ |
light.c | 304 panic("light_attach_common: unable to lock font data"); 397 struct wsdisplay_font *font = dc->dc_fontdata; local in function:light_putchar 402 bitmap = (u_int8_t *)font->data + 403 ((ch - font->firstchar) * font->fontheight * font->stride); 404 x = col * font->fontwidth; 405 y = row * font->fontheight; 410 rex_write(dc, REX_PAGE0_SET, REX_P0REG_YENDI, y + font->fontheight - 1); 412 rex_write(dc, REX_PAGE0_SET, REX_P0REG_XENDI, x + font->fontwidth - 1) 437 struct wsdisplay_font *font = dc->dc_fontdata; local in function:light_copycols 455 struct wsdisplay_font *font = dc->dc_fontdata; local in function:light_erasecols 471 struct wsdisplay_font *font = dc->dc_fontdata; local in function:light_copyrows 489 struct wsdisplay_font *font = dc->dc_fontdata; local in function:light_eraserows [all...] |
grtwo.c | 485 panic("grtwo_attach_common: unable to lock font data"); 602 struct wsdisplay_font *font = dc->dc_fontdata; local in function:grtwo_putchar 603 u_int8_t *bitmap = (u_int8_t *) font->data + (ch - font->firstchar + 1) * font->fontheight * font->stride; 606 int x = col * font->fontwidth; 607 int y = dc->yres - ( (row + 1) * font->fontheight); 619 /* This works for font sizes < 18 */ 621 bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DRAWCHAR, font->fontwidth) 664 struct wsdisplay_font *font = dc->dc_fontdata; local in function:grtwo_erasecols 678 struct wsdisplay_font *font = dc->dc_fontdata; local in function:grtwo_copyrows 693 struct wsdisplay_font *font = dc->dc_fontdata; local in function:grtwo_eraserows [all...] |
newport.c | 754 struct wsdisplay_font *font = PICK_FONT(ri, ch); local in function:newport_putchar 755 uint8_t *bitmap = (u_int8_t *)font->data + (ch - font->firstchar) * 756 font->fontheight * font->stride; 759 int x = col * font->fontwidth + ri->ri_xorigin; 760 int y = row * font->fontheight + ri->ri_yorigin; 781 (x + font->fontwidth - 1) << REX3_XYENDI_XSHIFT); 788 if (font->stride == 1) { 789 for (i = 0; i < font->fontheight; i++) 833 struct wsdisplay_font *font = ri->ri_font; local in function:newport_erasecols 866 struct wsdisplay_font *font = ri->ri_font; local in function:newport_eraserows [all...] |
/src/sys/dev/rasops/ |
rasops1_putchar_width.h | 65 struct wsdisplay_font *font = PICK_FONT(ri, uc); local in function:NAME 73 if (__predict_false(!CHAR_IN_FONT(uc, font))) 85 height = font->fontheight; 107 fr = FONT_GLYPH(uc, font, ri); 111 fr += font->stride;
|
rasops.h | 70 * drivers can set this to tell the font selection code that they'd rather 75 * Set this to prefer a wider font. 161 #define CHAR_IN_FONT(c, font) \ 162 ((c) >= (font)->firstchar && \ 163 (c) - (font)->firstchar < (font)->numchars) 179 * are the same. If calling rasops_reconfig() to change the font and 217 #define FONT_GLYPH(uc, font, ri) \ 218 ((uint8_t *)(font)->data + ((uc) - ((font)->firstchar)) * [all...] |
rasops1.c | 95 struct wsdisplay_font *font = PICK_FONT(ri, uc); local in function:rasops1_putchar 104 if (__predict_false(!CHAR_IN_FONT(uc, font))) 116 height = font->fontheight; 117 width = font->fontwidth; 137 fr = FONT_GLYPH(uc, font, ri); 159 fr += font->stride; 222 fr += font->stride;
|
rasops1-4_putchar.h | 90 struct wsdisplay_font *font = PICK_FONT(ri, uc); local in function:NAME 99 if (__predict_false(!CHAR_IN_FONT(uc, font))) 111 height = font->fontheight; 112 width = font->fontwidth << PIXEL_SHIFT; 132 fr = FONT_GLYPH(uc, font, ri);
|
rasops_putchar.h | 101 struct wsdisplay_font *font = PICK_FONT(ri, uc); local in function:NAME 109 if (__predict_false(!CHAR_IN_FONT(uc, font))) 121 height = font->fontheight; 122 width = font->fontwidth; 145 fr = FONT_GLYPH(uc, font, ri);
|
rasops_putchar_width.h | 210 struct wsdisplay_font *font = PICK_FONT(ri, uc); local in function:NAME 218 /* check if character fits into font limits */ 219 if (__predict_false(!CHAR_IN_FONT(uc, font))) 242 height = font->fontheight; 258 fr = FONT_GLYPH(uc, font, ri); 261 fr += font->stride;
|
/src/sys/arch/atari/dev/ |
ite_cc.c | 56 #include <atari/dev/font.h> 74 u_short ft_x; /* the font width */ 75 u_short ft_y; /* the font height */ 76 u_char *font_cell[256];/* the font pointer */ 83 * an 8x8 font. 338 ip->font = font_info_8x8; 340 ip->font = font_info_8x16; 343 /* Find the correct set of rendering routines for this font. */ 344 if (ip->font.width != 8) 345 panic("kernel font size not supported") [all...] |
itevar.h | 37 #include <atari/dev/font.h> 62 font_info font; member in struct:ite_softc
|
/src/sys/arch/playstation2/ee/ |
gsfb.c | 217 * std: screen size 640 x 480, font size 8 x 16 369 int font; local in function:gsfb_swinit 372 font = wsfont_find(NULL, 8, 16, 0, WSDISPLAY_FONTORDER_L2R, 374 if (font < 0) 377 if (wsfont_lock(font, &sc->sc_font)) 394 struct wsdisplay_font *font = sc->sc_font; local in function:_gsfb_cursor 396 gsfb_set_cursor_pos(buf, col, row, font->fontwidth, font->fontheight); 415 struct wsdisplay_font *font = sc->sc_font; local in function:_gsfb_mapchar 417 if (font->encoding != WSDISPLAY_FONTENC_ISO 438 struct wsdisplay_font *font = sc->sc_font; local in function:_gsfb_putchar [all...] |
/src/sys/arch/vax/vsa/ |
gpx.c | 80 * Because of this limitation, the font image is copied to offscreen 185 u_int ss_gpr; /* font glyphs per row */ 526 struct wsdisplay_font *font = ri->ri_font; local in function:gpx_putchar 532 dx = col * font->fontwidth + ri->ri_xorigin; 533 dy = row * font->fontheight + ri->ri_yorigin; 535 uc -= font->firstchar; 536 sx = (uc % ss->ss_gpr) * font->stride * NBBY; 537 sy = GPX_HEIGHT - (1 + uc / ss->ss_gpr) * font->fontheight; 561 ss->ss_adder->fast_dest_dx = font->fontwidth; 563 ss->ss_adder->slow_dest_dy = font->fontheight 582 struct wsdisplay_font *font = ri->ri_font; local in function:gpx_copycols 599 struct wsdisplay_font *font = ri->ri_font; local in function:gpx_erasecols 615 struct wsdisplay_font *font = ri->ri_font; local in function:gpx_copyrows 632 struct wsdisplay_font *font = ri->ri_font; local in function:gpx_eraserows 986 struct wsdisplay_font *font = ri->ri_font; local in function:gpx_upload_font [all...] |
/src/sbin/wsconsctl/ |
display.c | 47 static struct wsdisplay_usefontdata font; variable in typeref:struct:wsdisplay_usefontdata 62 { "font", &font.name, FMT_STRING, 0 }, 111 if (field_by_value(&font.name)->flags & FLG_GET) { 114 font.name = gfont.gf_name; 116 field_disable_by_value(&font.name); 195 if (field_by_value(&font.name)->flags & FLG_SET) { 196 if (ioctl(fd, WSDISPLAYIO_SFONT, &font) < 0) 198 pr_field(field_by_value(&font.name), " -> ");
|
/src/sys/arch/hpcsh/dev/hd64461/ |
hd64461video.c | 167 /* font */ 185 .font = hd64461video_font, 809 hd64461video_putchar(void *ctx, int row, int col, struct wsdisplay_font *font, 815 w = font->fontwidth; 816 h = font->fontheight; 832 hd64461video_font(void *ctx, struct wsdisplay_font *font) 836 hd64461video_font_set_attr(sc, font); 883 struct wsdisplay_font *font = &sc->sc_font.wsfont; local in function:hd64461video_font_set_attr 890 *font = *f; 905 struct hd64461video_font *font = &sc->sc_font local in function:hd64461video_font_start_addr 918 struct wsdisplay_font *font = &sc->sc_font.wsfont; local in function:hd64461video_font_load [all...] |
/src/etc/rc.d/ |
wscons | 23 usage="Usage: wsconfig [-n] [-f configfile] [-font fontpgm] [-screen screenpgm]" 35 -font) 54 # font name width height enc file 61 font)
|
/src/sys/arch/amiga/dev/ |
amidisplaycc.c | 302 int wsfontcookie; /* if -1, builtin font */ 584 u_char * font; local in function:amidisplaycc_putchar 637 /* Find the location where the wanted char is in the font data */ 658 font = fontreal; 660 f = *(font++); 673 font = fontreal; 675 f = *(font++); 1238 * A font with suitable size is searched and if not found 1239 * the builtin 8x8 font is used. 1281 * Calculate the pixel size using the font size 1906 static struct wsdisplay_font font; local in function:amidisplaycc_getbuiltinfont [all...] |
/src/sys/dev/sbus/ |
tcx.c | 982 struct wsdisplay_font *font = PICK_FONT(ri, c); local in function:tcx_putchar 991 addr = ri->ri_xorigin + col * font->fontwidth + 992 (ri->ri_yorigin + row * font->fontheight) * ri->ri_width; 996 ((addr + font->fontwidth - 1) & 0xffffe0)) { 1000 fmask = 0xffffffff >> (32 - font->fontwidth); 1001 fmask = fmask << (32 - font->fontwidth - shift); 1010 uc = c - font->firstchar; 1011 cdata = (uint8_t *)font->data + uc * ri->ri_fontscale; 1013 if (font->fontwidth < 9) { 1015 for (i = 0; i < font->fontheight; i++) [all...] |
/src/sys/dev/ic/ |
vga_raster.c | 119 struct wsdisplay_font *font; member in struct:vga_raster_font 420 /* prefer 8x16 pixel font */ 428 panic("vga_raster_init: can't load console font"); 429 vf->font = wf; 432 vf->font = &builtinfont; 853 if (wsfont_matches(vf->font, 0, 0, scr->type->fontheight, 0, 855 scr->encoding = vf->font->encoding; 870 vf->font = wf; 871 scr->encoding = vf->font->encoding; 1138 if ((scr->encoding == fs->font->encoding) & [all...] |