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
This commit is contained in:
Ethan Burns 2014-11-28 15:04:37 -05:00 committed by Russ Cox
parent 9bcee1f034
commit d67a3d3083

View file

@ -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);