chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d7e7f
)
Turn on the ForceBold flag for bold fonts
author
Ben Harris
<bjh21@bjh21.me.uk>
Wed, 20 Nov 2024 20:06:02 +0000
(20:06 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Wed, 20 Nov 2024 20:06:02 +0000
(20:06 +0000)
As far as I can tell, FreeType ignores it, but I may as well turn it
on in case something pays attention.
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index 193e02fafa1f6f8311ca7c0b7afc0365b5a19e32..0610e33116dbd1d06d693fb38d1abdaaab57355a 100644
(file)
--- 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"); */