chiark / gitweb /
Add FACE_NAME property to BDF
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 1 Nov 2024 19:43:43 +0000 (19:43 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 10 Nov 2024 09:30:35 +0000 (09:30 +0000)
bedstead.c

index f9a3d48c43592cae34635b825d5532cecad11149..1aba8acf2b979c578ddb375391b41852f0cd40d9 100644 (file)
@@ -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");