Lines Matching refs:height
52 static unsigned int width = 8, wbytes, height = 16; variable
56 unsigned int height; member
275 hash = fnv_32_buf(bytes, wbytes * height, FNV1_32_INIT) % FONTCVT_NHASH; in add_glyph()
277 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { in add_glyph()
284 gl->g_data = xmalloc(wbytes * height); in add_glyph()
285 memcpy(gl->g_data, bytes, wbytes * height); in add_glyph()
384 uint8_t bytes[wbytes * height], bytes_r[wbytes * height]; in parse_bdf()
398 for (i = 0; i < height; i++) { in parse_bdf()
444 height = atoi(ln + 10); in parse_hex()
453 bytes = xmalloc(wbytes * height); in parse_hex()
454 bytes_r = xmalloc(wbytes * height); in parse_hex()
458 chars_per_row = strlen(p) / height; in parse_hex()
465 for (i = 0; i < height; i++) { in parse_hex()
498 &bbox.width, &bbox.height, &bbox.x, &bbox.y); in parse_bdf_header()
527 if (bbox.height == 0) in parse_bdf_header()
528 bbox.height = height; in parse_bdf_header()
529 height = bbox.height; in parse_bdf_header()
611 if (cb(gl->g_data, wbytes * height, 1, fp) != 1) in write_glyphs()
688 uint8_t height; member
709 fh.height = height; in write_fnt()
740 size_t uncompressed_size = wbytes * height * glyph_unique; in write_fnt_source()
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()
873 if (fprintf(fp, "\t.vf_height\t= %u,\n", height) < 0) in write_fnt_source()
885 width, height) < 0) in write_fnt_source()
889 if (fprintf(fp, "\t.height\t= %u,\n", height) < 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()
989 height = val; in main()