plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit d67a3d3083b9a2186a96fd7f9a6de8af35499c85
parent 9bcee1f034af98a7226e56e346c2cbe3d6a7b325
Author: Ethan Burns <burns.ethan@gmail.com>
Date:   Fri, 28 Nov 2014 15:04:37 -0500

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

Diffstat:
Msrc/cmd/fontsrv/x11.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);