From: Ben Harris Date: Wed, 20 Nov 2024 20:06:02 +0000 (+0000) Subject: Turn on the ForceBold flag for bold fonts X-Git-Tag: bedstead-3.246~7 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=769c6f5c3ce33aee3275a6b5d3798b1cb7f9d85f;p=bedstead.git Turn on the ForceBold flag for bold fonts As far as I can tell, FreeType ignores it, but I may as well turn it on in case something pays attention. --- diff --git a/bedstead.c b/bedstead.c index 193e02f..0610e33 100644 --- a/bedstead.c +++ b/bedstead.c @@ -3158,6 +3158,8 @@ main(int argc, char **argv) TTXI("BlueFuzz", 0); TTXF("StdHW", "%4g", (double)YPIX); TTXF("StdVW", "%4g", (double)(XPIX * (100 + weight->weight) / 100)); + if (weight->weight > 0) + TTXI("ForceBold", 1); TTXI("defaultWidthX", XSIZE * XPIX); /* if (plottermode) { */ /* printf("StrokedFont: 1\n"); */