Lines Matching defs:spx_font
295 struct wsdisplay_font spx_font;
299 #define QCHAR_INVALID(c) (((c) < spx_font.firstchar) || \
300 ((c) >= spx_font.firstchar + spx_font.numchars))
301 #define QCHAR(c) (QCHAR_INVALID(c) ? 0 : (c) - spx_font.firstchar)
303 #define QFONT_INDEX(c, line) (QCHAR(c) * spx_font.fontheight + line)
306 #define QFONT(c, line) (spx_font.stride == 2 ? \
318 ((col) * spx_font.fontwidth + \
319 (row) * spx_font.fontheight * spx_xsize + \
708 LO(col * spx_font.fontwidth + CUR_XBIAS));
710 HI(col * spx_font.fontwidth + CUR_XBIAS));
712 LO(row * spx_font.fontheight + CUR_YBIAS));
714 HI(row * spx_font.fontheight + CUR_YBIAS));
752 SPX_REG(SPX_XSTART) = (col * spx_font.fontwidth) << 16;
753 SPX_REG(SPX_YSTART) = (row * spx_font.fontheight) << 16;
754 SPX_REG(SPX_XEND) = ((col + 1) * spx_font.fontwidth) << 16;
755 SPX_REG(SPX_YEND) = ((row + 1) * spx_font.fontheight) << 16;
760 SPX_REG(SPX_DSTPIX) = temp + LINEAR(col * spx_font.fontwidth,
761 row * spx_font.fontheight);
763 + (c * spx_font.fontheight * spx_font.fontwidth);
765 SPX_REG(SPX_STRIDE) = (spx_font.fontwidth << 16) | spx_xsize;
792 SPXg_REG(SPX_XSTART) = (col * spx_font.fontwidth) << 16;
794 SPXg_REG(SPX_YSTART) = (row * spx_font.fontheight) << 16;
796 SPXg_REG(SPX_XEND) = ((col + 1) * spx_font.fontwidth) << 16;
798 SPXg_REG(SPX_YEND) = ((row + 1) * spx_font.fontheight) << 16;
803 SPXg_REG(SPX_DSTPIX) = temp + LINEAR(col * spx_font.fontwidth,
804 row * spx_font.fontheight);
809 (c * spx_font.fontheight * spx_font.fontwidth);
813 SPXg_REG(SPX_STRIDE) = (spx_font.fontwidth << 16) | spx_xsize;
869 spx_blkcpy(srccol * spx_font.fontwidth,
870 row * spx_font.fontheight,
871 dstcol * spx_font.fontwidth,
872 row * spx_font.fontheight,
873 ncols * spx_font.fontwidth,
874 spx_font.fontheight);
894 spx_blkset(startcol * spx_font.fontwidth,
895 row * spx_font.fontheight,
896 ncols * spx_font.fontwidth,
897 spx_font.fontheight,
911 spx_blkcpy(0, (srcrow * spx_font.fontheight),
912 0, (dstrow * spx_font.fontheight),
913 spx_xsize, (nrows * spx_font.fontheight));
929 spx_blkset(0, (startrow * spx_font.fontheight),
930 spx_xsize, (nrows * spx_font.fontheight),
1383 for (i = 0; i < 256; i++) for (j = 0; j < spx_font.fontheight; j++) {
1387 pixel = ((i * spx_font.fontheight)+ j) * spx_font.fontwidth;
1388 for (k = 0; k < spx_font.fontwidth; k++)
1395 pixel = (((i + 256) * spx_font.fontheight) + j)
1396 * spx_font.fontwidth;
1397 for (k = 0; k < spx_font.fontwidth; k++)
1398 if ((ch & (1 << k)) || (j == (spx_font.fontheight - 1)))
1410 for (i = 0; i < 256; i++) for (j = 0; j < spx_font.fontheight; j++) {
1413 for (k = 0; k < spx_font.fontwidth; k++) {
1415 + (((i * spx_font.fontheight) + j)
1416 * spx_font.fontwidth) + k;
1426 for (k = 0; k < spx_font.fontwidth; k++) {
1428 + ((((i + 256) * spx_font.fontheight) + j)
1429 * spx_font.fontwidth) + k;
1434 if ((ch & (1 << k)) || (j == (spx_font.fontheight - 1)))
1508 spx_font = *wf;
1512 spx_font.fontwidth, spx_font.fontheight);
1515 spx_cols = spx_xsize / spx_font.fontwidth;
1516 spx_rows = spx_ysize / spx_font.fontheight;
1520 spx_stdscreen.fontwidth = spx_font.fontwidth;
1521 spx_stdscreen.fontheight = spx_font.fontheight;
1529 qf = spx_font.data;
1530 qf2 = (u_short *)spx_font.data;
1561 if (spx_font.fontheight > 26)
1562 i = spx_font.fontheight - 3;
1563 else if (spx_font.fontheight > 16)
1564 i = spx_font.fontheight - 2;
1566 i = spx_font.fontheight - 1;
1568 for (; i <= spx_font.fontheight - 1; i++) {
1569 for (j = 0; j < (spx_font.fontwidth >> 2); j++)
1571 k = (spx_font.fontwidth & 3) << 1;