{
bool gen_bdf = false;
int i;
- int extraglyphs = 0;
char *endptr, *timestr;
if (argc == 2 && strcmp(argv[1], "--complement") == 0) {
/* Put glyphs into FontForge-compatible order. */
qsort(glyphs, nglyphs, sizeof(glyphs[0]), &compare_glyphs_by_ffid);
- for (i = 0; i < nglyphs; i++)
- if (glyphs[i].unicode == -1)
- extraglyphs++;
printf("<?xml version='1.0'?>\n");
printf("<ttFont sfntVersion='OTTO'>\n");
/* Convenient macros for TTX values. */
/* printf("OtfFeatName: 'ss16' 1033 \"6-cell separated graphics\"\n"); */
/* printf("Lookup: 257 0 0 \"palt: proportional metrics\" {\"palt\"} " */
/* "['palt' ('DFLT' <'dflt'> 'latn' <'dflt'>)]\n"); */
- extraglyphs = 0;
for (i = 0; i < nglyphs; i++)
glyphs_by_name[i] = glyphs + i;
qsort(glyphs_by_name, nglyphs, sizeof(glyphs_by_name[0]),