From: Ben Harris Date: Sat, 12 Aug 2017 09:11:28 +0000 (+0100) Subject: Set the "H" flag on all glyphs in SFD files. X-Git-Tag: bedstead-002.000~65 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=6270d56611a8111324df811c992b1decabe7b448;p=bedstead.git 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. --- 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)