mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-08-08 09:20:37 -04:00
Remove extraglyphs variable that's no longer needed
This commit is contained in:
parent
061c83e8c8
commit
568f347469
@ -2768,7 +2768,6 @@ main(int argc, char **argv)
|
||||
{
|
||||
bool gen_bdf = false;
|
||||
int i;
|
||||
int extraglyphs = 0;
|
||||
char *endptr, *timestr;
|
||||
|
||||
if (argc == 2 && strcmp(argv[1], "--complement") == 0) {
|
||||
@ -2849,9 +2848,6 @@ main(int argc, char **argv)
|
||||
|
||||
/* 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. */
|
||||
@ -3078,7 +3074,6 @@ main(int argc, char **argv)
|
||||
/* 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]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user