From 769c6f5c3ce33aee3275a6b5d3798b1cb7f9d85f Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 20 Nov 2024 20:06:02 +0000 Subject: [PATCH] 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. --- bedstead.c | 2 ++ 1 file changed, 2 insertions(+) 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"); */ -- 2.30.2