Generate 'post' table for TTX

This commit is contained in:
Ben Harris 2024-11-02 16:39:50 +00:00
parent b0cbe870b3
commit f1423c7124

View 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"); */