From 6270d56611a8111324df811c992b1decabe7b448 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 12 Aug 2017 10:11:28 +0100 Subject: [PATCH] Set the "H" flag on all glyphs in SFD files. This turns out to be all it takes to get FontForge to autohint fonts on generation. FontForge's autohinter isn't perfect, but it's pretty good and certainly better than anything else I've got. --- bedstead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bedstead.c b/bedstead.c index c079d2f..b177561 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1588,7 +1588,7 @@ main(int argc, char **argv) glyphs[i].unicode != -1 ? glyphs[i].unicode : 65536 + extraglyphs++, glyphs[i].unicode, i); printf("Width: %d\n", XSIZE * XPIX); - printf("Flags: W\n"); + printf("Flags: HW\n"); printf("LayerCount: 2\n"); dolookups(&glyphs[i]); if (glyphs[i].flags & MOS) -- 2.30.2