diff options
author | Martchus | 2016-09-23 17:26:23 +0200 |
---|---|---|
committer | Martchus | 2016-09-23 17:26:23 +0200 |
commit | b7581d2e405d925a58339ba5f4a41b29165096e1 (patch) | |
tree | 06b1d6d09d50ca7d2dc10ff0b9191131cfd774a7 /0004-Mask-subpixel-hinting-with-an-env-var.patch | |
parent | 0950cfe7451bda0210cbcf9d4a72f047e69a07f8 (diff) | |
download | aur-b7581d2e405d925a58339ba5f4a41b29165096e1.tar.gz |
Update to 2.7
Diffstat (limited to '0004-Mask-subpixel-hinting-with-an-env-var.patch')
-rw-r--r-- | 0004-Mask-subpixel-hinting-with-an-env-var.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/0004-Mask-subpixel-hinting-with-an-env-var.patch b/0004-Mask-subpixel-hinting-with-an-env-var.patch new file mode 100644 index 000000000000..ec8910488cb3 --- /dev/null +++ b/0004-Mask-subpixel-hinting-with-an-env-var.patch @@ -0,0 +1,31 @@ +From bb5ece9c6773145c8342107bd32fcacbc4b212ab Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> +Date: Tue, 23 Jun 2015 08:34:54 +0200 +Subject: [PATCH 4/4] Mask subpixel hinting with an env var + +--- + src/truetype/ttobjs.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c +index 6060d6f..3fa98e7 100644 +--- a/src/truetype/ttobjs.c ++++ b/src/truetype/ttobjs.c +@@ -1302,10 +1302,11 @@ + TT_Driver driver = (TT_Driver)ttdriver; + + #ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING +- driver->interpreter_version = TT_INTERPRETER_VERSION_38; +-#else +- driver->interpreter_version = TT_INTERPRETER_VERSION_35; ++ if ( getenv( "FT2_SUBPIXEL_HINTING" ) ) ++ driver->interpreter_version = TT_INTERPRETER_VERSION_38; ++ else + #endif ++ driver->interpreter_version = TT_INTERPRETER_VERSION_35; + + #else /* !TT_USE_BYTECODE_INTERPRETER */ + +-- +2.6.0 + |