summarylogtreecommitdiffstats
path: root/0004-Add-env-var-to-turn-off-subpixel-hinting.patch
diff options
context:
space:
mode:
Diffstat (limited to '0004-Add-env-var-to-turn-off-subpixel-hinting.patch')
-rw-r--r--0004-Add-env-var-to-turn-off-subpixel-hinting.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/0004-Add-env-var-to-turn-off-subpixel-hinting.patch b/0004-Add-env-var-to-turn-off-subpixel-hinting.patch
deleted file mode 100644
index 26f9d7635d55..000000000000
--- a/0004-Add-env-var-to-turn-off-subpixel-hinting.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 649f2e555fbed9d883892d7939a6c493ad716af7 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
-Date: Tue, 23 Jun 2015 08:33:22 +0200
-Subject: [PATCH 4/4] Add env var to turn off subpixel hinting
-
----
- 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 202aa04..302d127 100644
---- a/src/truetype/ttobjs.c
-+++ b/src/truetype/ttobjs.c
-@@ -1253,10 +1253,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_NO_SUBPIXEL_HINTING" ) )
-+ driver->interpreter_version = TT_INTERPRETER_VERSION_38;
-+ else
- #endif
-+ driver->interpreter_version = TT_INTERPRETER_VERSION_35;
-
- #else /* !TT_USE_BYTECODE_INTERPRETER */
-
---
-2.4.4
-