Lines Matching full:height
49 static unsigned int width = 8, wbytes, height = 16; variable
180 "[-nv] [-f format] [-h height] [-w width]\n" in usage()
264 hash = fnv_32_buf(bytes, wbytes * height, FNV1_32_INIT) % FONTCVT_NHASH; in add_glyph()
266 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { in add_glyph()
274 gl->g_data = xmalloc(wbytes * height); in add_glyph()
275 memcpy(gl->g_data, bytes, wbytes * height); in add_glyph()
384 errx(1, "invalid height %d", h); in set_height()
385 height = h; in set_height()
465 bytes = xmalloc(wbytes * height); in parse_bdf()
466 bytes_r = xmalloc(wbytes * height); in parse_bdf()
491 memset(bytes, 0, wbytes * height); in parse_bdf()
492 memset(bytes_r, 0, wbytes * height); in parse_bdf()
557 if (strncmp(ln, "# Height: ", 10) == 0) { in parse_hex()
559 errx(1, "malformed input: Height tag after font data"); in parse_hex()
567 bytes = xmalloc(wbytes * height); in parse_hex()
568 bytes_r = xmalloc(wbytes * height); in parse_hex()
573 chars_per_row = strlen(p) / height; in parse_hex()
585 for (i = 0; i < height; i++) { in parse_hex()
690 if (cb(gl->g_data, wbytes * height, 1, fp) != 1) in write_glyphs()
773 fh.fh_height = height; in write_fnt()
804 size_t uncompressed_size = wbytes * height * glyph_unique; in write_fnt_source()
819 width, height) < 0) in write_fnt_source()
830 width, height) < 0) in write_fnt_source()
851 "FONTMAP_NORMAL_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
860 "FONTMAP_NORMAL_RH_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
869 "FONTMAP_BOLD_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
878 "FONTMAP_BOLD_RH_%ux%u[] = {\n", width, height) < 0) in write_fnt_source()
888 width, height) < 0) in write_fnt_source()
897 width, height) < 0) in write_fnt_source()
905 width, height) < 0) in write_fnt_source()
913 width, height) < 0) in write_fnt_source()
921 width, height) < 0) in write_fnt_source()
931 width, height) < 0) { in write_fnt_source()
937 if (fprintf(fp, "\t.vf_height\t= %u,\n", height) < 0) in write_fnt_source()
949 width, height) < 0) in write_fnt_source()
953 if (fprintf(fp, "\t.vfbd_height\t= %u,\n", height) < 0) in write_fnt_source()
965 width, height) < 0) { in write_fnt_source()
978 if (fprintf(fp, "\t.vfbd_font = &font_%ux%u\n", width, height) < 0) in write_fnt_source()
997 "- height: %6u\n" in print_font_info()
1016 width, height, in print_font_info()
1053 height = atoi(optarg); in main()
1084 set_height(height); in main()