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:
6e1e146
)
Don't auto-hint mosaic graphics characters.
author
Ben Harris
<bjh21@bjh21.me.uk>
Fri, 13 Dec 2019 18:37:52 +0000
(18:37 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Fri, 13 Dec 2019 18:37:52 +0000
(18:37 +0000)
Suggested by Jason A.
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index c69fa90d7b0e46008f999459ee3bc0dca49147e4..e8afe54a69eae013eb4145496125fa1d7f47bab5 100644
(file)
--- a/
bedstead.c
+++ b/
bedstead.c
@@
-1794,7
+1794,10
@@
main(int argc, char **argv)
glyphs[i].unicode != -1 ? glyphs[i].unicode :
65536 + extraglyphs++, glyphs[i].unicode, i);
printf("Width: %g\n", (double)(XSIZE * XPIX));
- printf("Flags: HW\n");
+ if (glyphs[i].flags & (MOS|MOS4))
+ printf("Flags: W\n");
+ else
+ printf("Flags: HW\n");
printf("LayerCount: 2\n");
dolookups(&glyphs[i]);
if (glyphs[i].flags & MOS)