mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-09 21:43:06 -04:00
Better TTF name generation.
Now more-correctly generate family/subfamily names, both the versions for programs that can't handle much variety (IDs 1 and 2), and the proper typographic ones (IDs 16 and 17). This should stop "Medium" turning up in my font selector.
This commit is contained in:
parent
d3a6dc5ebe
commit
e3711118a2
@ -1476,6 +1476,13 @@ main(int argc, char **argv)
|
||||
printf("FontName: %s\n", fullname_to_fontname(get_fullname()));
|
||||
printf("FullName: %s\n", get_fullname());
|
||||
printf("FamilyName: Bedstead\n");
|
||||
printf("LangName: 1033 \"\" \"Bedstead%s%s\" \"%s\" \"\" \"\" \"\" "
|
||||
"\"\" \"\" \"\" \"\" \"\" \"\" \"\" \"\" \"\" \"\" "
|
||||
"\"Bedstead\" \"%s%s\"\n\n", weight->suffix, width->suffix,
|
||||
"Regular",
|
||||
weight->suffix[0] ? weight->suffix+1 : "",
|
||||
weight->suffix[0] ? width->suffix :
|
||||
width->suffix[0] ? width->suffix+1 : "");
|
||||
printf("Weight:%s\n", weight->suffix[0] ? weight->suffix : " Medium");
|
||||
printf("OS2_WeightWidthSlopeOnly: 1\n");
|
||||
printf("Copyright: Dedicated to the public domain\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user