Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/vtfontcvt/vtfontcvt.c
- This file was moved from tools/tools/vt/fontcvt/fontcvt.c.
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | |||||
static unsigned int mapping_total, map_count[4], map_folded_count[4], | static unsigned int mapping_total, map_count[4], map_folded_count[4], | ||||
mapping_unique, mapping_dupe; | mapping_unique, mapping_dupe; | ||||
static void | static void | ||||
usage(void) | usage(void) | ||||
{ | { | ||||
fprintf(stderr, | fprintf(stderr, | ||||
"usage: fontcvt [-w width] [-h height] normal.bdf [bold.bdf] out.fnt\n"); | "usage: vtfontcvt [-w width] [-h height] normal.bdf [bold.bdf] out.fnt\n"); | ||||
exit(1); | exit(1); | ||||
} | } | ||||
static int | static int | ||||
add_mapping(struct glyph *gl, unsigned int c, unsigned int map_idx) | add_mapping(struct glyph *gl, unsigned int c, unsigned int map_idx) | ||||
{ | { | ||||
struct mapping *mp; | struct mapping *mp; | ||||
struct mapping_list *ml; | struct mapping_list *ml; | ||||
▲ Show 20 Lines • Show All 434 Lines • Show Last 20 Lines |