From: Ben Harris Date: Fri, 1 Nov 2024 19:41:08 +0000 (+0000) Subject: Add FONT_VERSION property to BDF X-Git-Tag: bedstead-3.246~84 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=305d15129d51c3ef679054c92a7190c123e2c6cf;p=bedstead.git Add FONT_VERSION property to BDF --- diff --git a/bedstead.c b/bedstead.c index 68295b4..f9a3d48 100644 --- a/bedstead.c +++ b/bedstead.c @@ -3872,7 +3872,7 @@ bdf_gen(int px_height) dpt_height, px_height, px_width * 10); printf("SIZE %d 75 75\n", pt_height); printf("FONTBOUNDINGBOX %d %d 0 %d\n", px_width, px_height, -base); - printf("STARTPROPERTIES 20\n"); + printf("STARTPROPERTIES 21\n"); printf("FOUNDRY \"bjh21\"\n"); printf("FAMILY_NAME \"Bedstead\"\n"); printf("WEIGHT_NAME \"%s\"\n", @@ -3895,6 +3895,9 @@ bdf_gen(int px_height) printf("UNDERLINE_THICKNESS %d\n", base / 2); printf("RELATIVE_SETWIDTH %d\n", width->ttfwidth * 10); printf("RELATIVE_WEIGHT %d\n", weight->ttfweight / 10); + printf("FONT_VERSION \") print\n"); + printf("currentfont /FontInfo get /version get print\n"); + printf("(\"\n"); printf("ENDPROPERTIES\n"); printf("CHARS %d\n", nglyphs); for (i = 0; i < nglyphs; i++) {