diff options
author | Ethan Burns <burns.ethan@gmail.com> | 2014-11-28 15:04:37 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2014-12-02 01:51:11 +0000 |
commit | d67a3d3083b9a2186a96fd7f9a6de8af35499c85 (patch) | |
tree | 7db47c04057174a56e0f8965ffa938fdfa8a391a /src/cmd/fontsrv | |
parent | 9bcee1f034af98a7226e56e346c2cbe3d6a7b325 (diff) | |
download | plan9port-d67a3d3083b9a2186a96fd7f9a6de8af35499c85.tar.gz plan9port-d67a3d3083b9a2186a96fd7f9a6de8af35499c85.tar.bz2 plan9port-d67a3d3083b9a2186a96fd7f9a6de8af35499c85.zip |
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 (limited to 'src/cmd/fontsrv')
-rw-r--r-- | src/cmd/fontsrv/x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |