mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-10 14:03:06 -04:00
Correct weight and width names in BDF
They shouldn't have leading spaces.
This commit is contained in:
parent
9c6e156d80
commit
1fd2576cfa
@ -3867,8 +3867,8 @@ bdf_gen(int px_height)
|
||||
printf("STARTFONT 2.1\n");
|
||||
printf("FONT -bjh21-Bedstead-%s-R-%s--"
|
||||
"%d-%d-75-75-C-%d-ISO10646-1\n",
|
||||
*weight->suffix ? weight->suffix : "Medium",
|
||||
*width->suffix ? width->suffix : "Normal",
|
||||
*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);
|
||||
@ -3876,10 +3876,10 @@ bdf_gen(int px_height)
|
||||
printf("FOUNDRY \"bjh21\"\n");
|
||||
printf("FAMILY_NAME \"Bedstead\"\n");
|
||||
printf("WEIGHT_NAME \"%s\"\n",
|
||||
*weight->suffix ? weight->suffix : "Medium");
|
||||
*weight->suffix ? weight->suffix + 1 : "Medium");
|
||||
printf("SLANT \"R\"\n");
|
||||
printf("SETWIDTH_NAME \"%s\"\n",
|
||||
*width->suffix ? width->suffix : "Normal");
|
||||
*width->suffix ? width->suffix + 1 : "Normal");
|
||||
printf("ADD_STYLE_NAME \"\"\n");
|
||||
printf("PIXEL_SIZE %d\n", px_height);
|
||||
printf("POINT_SIZE %d\n", dpt_height);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user