chiark / gitweb /
Put version number in glyph complement PDF
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 15 Nov 2024 20:45:01 +0000 (20:45 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 16 Nov 2024 11:53:04 +0000 (11:53 +0000)
Now that we've got the version number in a constant, this is
convenient.

bedstead.c

index 72b2301d8940243a6332d4a4a39e936c11c3accf..3d3cc9ccf8554a489262473d5c456279cb5e1941 100644 (file)
@@ -4230,8 +4230,8 @@ glyph_complement()
                sorted[i] = &glyphs[i];
        qsort(sorted, nglyphs, sizeof(sorted[0]), &byunicode);
        printf("%%!PS-Adobe\n");
-       printf("%%%%Creator: bedstead\n");
-       printf("%%%%Title: %s Glyph Complement\n", FAMILY_NAME);
+       printf("%%%%Creator: bedstead %s\n", VERSION);
+       printf("%%%%Title: %s %s Glyph Complement\n", FAMILY_NAME, VERSION);
        printf("/xfont /%s findfont 20 scalefont def\n", FAMILY_NAME);
        printf("/nfont /%s findfont 10 scalefont def\n", FAMILY_NAME);
        printf("/lfont /%s findfont 4 scalefont def\n", FAMILY_NAME);