fontsrv: disable X11 hinting Discussion at: https://groups.google.com/d/topic/plan9port-dev/L7RVkXPmrdY/discussion https://github.com/9fans/plan9port/pull/7 Change-Id: I4f3a6791436120388ad8798e519f5e8473dd9306 Reviewed-on: https://plan9port-review.googlesource.com/1095
diff --git a/src/cmd/fontsrv/x11.c b/src/cmd/fontsrv/x11.c index a76ac2c..43b013e 100644 --- a/src/cmd/fontsrv/x11.c +++ b/src/cmd/fontsrv/x11.c
@@ -182,7 +182,7 @@ memfillcolor(mc, DBlack); - e = FT_Load_Char(face, i, FT_LOAD_RENDER|(antialias ? 0:FT_LOAD_TARGET_MONO)); + e = FT_Load_Char(face, i, FT_LOAD_RENDER|FT_LOAD_NO_HINTING|(antialias ? 0:FT_LOAD_TARGET_MONO)); if(e){ fprint(2, "FT_Load_Char failed for %d\n", i); //mempoly(mc, rect_points, 4, Endsquare, Endsquare, 0, memopaque, ZP, S);