Lines Matching refs:width

52 static unsigned int width = 8, wbytes, height = 16;  variable
55 unsigned int width; /* pixels */ member
353 if (dwidth != width && dwidth != width * 2) in parse_bitmap_line()
359 for (i = dwidth / width; i > 0; i--) { in parse_bitmap_line()
362 subline = line & ((1 << width) - 1); in parse_bitmap_line()
363 subline <<= (howmany(width, 8) * 8) - width; in parse_bitmap_line()
374 line >>= width; in parse_bitmap_line()
410 dwidth == width * 2 ? bytes_r : NULL) != 0) in parse_bdf()
425 width = w; in set_width()
426 wbytes = howmany(width, 8); in set_width()
459 dwidth = width; in parse_hex()
460 if (chars_per_row / 2 > (width + 7) / 8) in parse_hex()
476 dwidth == width * 2 ? bytes_r : NULL) != 0) { in parse_hex()
498 &bbox.width, &bbox.height, &bbox.x, &bbox.y); in parse_bdf_header()
523 if (bbox.width == 0) in parse_bdf_header()
524 bbox.width = width; in parse_bdf_header()
525 set_width(bbox.width); in parse_bdf_header()
687 uint8_t width; member
708 fh.width = width; in write_fnt()
755 width, height) < 0) in write_fnt_source()
766 width, height) < 0) in write_fnt_source()
787 "FONTMAP_NORMAL_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
796 "FONTMAP_NORMAL_RH_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
805 "FONTMAP_BOLD_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
814 "FONTMAP_BOLD_RH_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
824 width, height) < 0) in write_fnt_source()
833 width, height) < 0) in write_fnt_source()
841 width, height) < 0) in write_fnt_source()
849 width, height) < 0) in write_fnt_source()
857 width, height) < 0) in write_fnt_source()
867 width, height) < 0) { in write_fnt_source()
871 if (fprintf(fp, "\t.vf_width\t= %u,\n", width) < 0) in write_fnt_source()
885 width, height) < 0) in write_fnt_source()
887 if (fprintf(fp, "\t.width\t= %u,\n", width) < 0) in write_fnt_source()
901 width, height) < 0) { in write_fnt_source()
914 if (fprintf(fp, "\t.font = &font_%ux%u\n", width, height) < 0) in write_fnt_source()
1014 wbytes = howmany(width, 8); in main()