From 9c6e156d80edd6f5b965570d44f5f3d522b0487c Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 1 Nov 2024 19:43:43 +0000 Subject: [PATCH] Add FACE_NAME property to BDF --- bedstead.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bedstead.c b/bedstead.c index f9a3d48..1aba8ac 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 21\n"); + printf("STARTPROPERTIES 22\n"); printf("FOUNDRY \"bjh21\"\n"); printf("FAMILY_NAME \"Bedstead\"\n"); printf("WEIGHT_NAME \"%s\"\n", @@ -3895,6 +3895,7 @@ 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("FACE_NAME \"%s\"\n", get_fullname()); printf("FONT_VERSION \") print\n"); printf("currentfont /FontInfo get /version get print\n"); printf("(\"\n"); -- 2.30.2