#include <string.h>
#include <time.h>
+/* Font identity information. */
#define FAMILY_NAME "Bedstead"
#define VERSION "002.009"
+#define VENDOR_ID "PfEd" /* For the achVendID field in the 'OS/2' table. */
+#define FOUNDRY "bjh21" /* For the XLFD/BDF FOUNDRY property. */
/* Metrics expressed in pixels. */
#define XSIZE 6
TTXS("ulUnicodeRange2", "01010010 00000000 11111001 11111011");
TTXS("ulUnicodeRange3", "00000011 00000000 00000000 00110000");
TTXS("ulUnicodeRange4", "00000000 00000000 00000010 00000000");
- TTXS("achVendID", "PfEd");
+ TTXS("achVendID", VENDOR_ID);
TTXF("fsSelection", "00000001 1%c%c00000",
/* Fixed: use typo metrics; WWS */
weight->ttfweight == 500 && width->ttfwidth == 5 ? '1' : '0',
printf("/buf %d string def\n", (px_width + 7) / 8);
printf("(\\\n");
printf("STARTFONT 2.1\n");
- printf("FONT -bjh21-%s-%s-R-%s--"
- "%d-%d-75-75-C-%d-ISO10646-1\n", FAMILY_NAME,
+ printf("FONT -%s-%s-%s-R-%s--"
+ "%d-%d-75-75-C-%d-ISO10646-1\n", FOUNDRY, FAMILY_NAME,
*weight->suffix ? weight->suffix + 1 : "Medium",
*width->suffix ? width->suffix + 1 : "Normal",
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 23\n");
- printf("FOUNDRY \"bjh21\"\n");
+ printf("FOUNDRY \"%s\"\n", FOUNDRY);
printf("FAMILY_NAME \"%s\"\n", FAMILY_NAME);
printf("WEIGHT_NAME \"%s\"\n",
*weight->suffix ? weight->suffix + 1 : "Medium");