From d67a3d3083b9a2186a96fd7f9a6de8af35499c85 Mon Sep 17 00:00:00 2001 From: Ethan Burns Date: Fri, 28 Nov 2014 15:04:37 -0500 Subject: 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 --- src/cmd/fontsrv/x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/fontsrv') diff --git a/src/cmd/fontsrv/x11.c b/src/cmd/fontsrv/x11.c index a76ac2cf..43b013e3 100644 --- a/src/cmd/fontsrv/x11.c +++ b/src/cmd/fontsrv/x11.c @@ -182,7 +182,7 @@ mksubfont(char *name, int lo, int hi, int size, int antialias) 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); -- cgit v1.2.3