chiark / gitweb /
Generate 'post' table for TTX
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 2 Nov 2024 16:39:50 +0000 (16:39 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 14 Nov 2024 22:27:18 +0000 (22:27 +0000)
bedstead.c

index fee42d8af2e92111b6529f3bd44c782bea37a54e..c0d4fc3d409757b2df37362a1338c9cc75e467c2 100644 (file)
@@ -3001,6 +3001,17 @@ main(int argc, char **argv)
        docmap(3, 1, 4);   /* Windows Unicode, BMP only */
        docmap(3, 10, 12); /* Windows Unicode, full repertoire */
        printf(" </cmap>\n");
+
+       printf(" <post>\n");
+       TTXS(formatType, "3.0");
+       TTXS(italicAngle, "0.0");
+       TTXI(underlinePosition, -YPIX);
+       TTXI(underlineThickness, YPIX);
+       TTXI(isFixedPitch, 1);
+       TTXI(minMemType42, 0); TTXI(maxMemType42, 0);
+       TTXI(minMemType1, 0); TTXI(maxMemType1, 0);
+       printf(" </post>\n");
+
        /* printf("FontName: %s\n", fullname_to_fontname(get_fullname())); */
        /* printf("FullName: %s\n", get_fullname()); */
        /* printf("FamilyName: Bedstead\n"); */