diff options
author | Jan Alexander Steffens (heftig) | 2016-07-20 19:49:14 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) | 2016-07-20 19:49:14 +0200 |
commit | 3a64a18fc07ce8459364ecc8b6fa5fb84fa8d43f (patch) | |
tree | 6e5346e2bd398cc6c409fcfe4eb7dcb25ad6f54c | |
parent | 26f738ea071b924d4f07e131251d74a3e528171f (diff) | |
download | aur-3a64a18fc07ce8459364ecc8b6fa5fb84fa8d43f.tar.gz |
Enable subpixel hinting
As expected in 2.7
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | enable-subpixel-hinting.diff | 15 |
3 files changed, 23 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Jul 20 17:27:24 UTC 2016 +# Wed Jul 20 17:49:03 UTC 2016 pkgbase = freetype2-git pkgdesc = TrueType font rendering library (from git) pkgver = 2.6.5+p25+g7f63105 - pkgrel = 2 + pkgrel = 3 epoch = 1 url = http://www.freetype.org/ install = freetype2.install @@ -26,11 +26,13 @@ pkgbase = freetype2-git source = git://git.sv.gnu.org/freetype/freetype2-demos.git source = 0001-Enable-table-validation-modules.patch source = 0002-Enable-subpixel-rendering.patch + source = enable-subpixel-hinting.diff source = freetype2.sh sha1sums = SKIP sha1sums = SKIP sha1sums = e1fde7854d2a64868a5eef07415ad23c339fc630 sha1sums = 7da3af8e1e002e39a247c37a05a10beb576007d6 + sha1sums = b1dc518903bb4e4086139f86abda44aef1a1b5a0 sha1sums = bc6df1661c4c33e20f5ce30c2da8ad3c2083665f pkgname = freetype2-git @@ -4,7 +4,7 @@ pkgname=freetype2-git epoch=1 pkgver=2.6.5+p25+g7f63105 -pkgrel=2 +pkgrel=3 pkgdesc="TrueType font rendering library (from git)" arch=(i686 x86_64) license=('GPL') @@ -21,11 +21,13 @@ source=(git://git.sv.gnu.org/freetype/freetype2.git git://git.sv.gnu.org/freetype/freetype2-demos.git 0001-Enable-table-validation-modules.patch 0002-Enable-subpixel-rendering.patch + enable-subpixel-hinting.diff freetype2.sh) sha1sums=('SKIP' 'SKIP' 'e1fde7854d2a64868a5eef07415ad23c339fc630' '7da3af8e1e002e39a247c37a05a10beb576007d6' + 'b1dc518903bb4e4086139f86abda44aef1a1b5a0' 'bc6df1661c4c33e20f5ce30c2da8ad3c2083665f') validpgpkeys=('58E0C111E39F5408C5D3EC76C1A60EACE707FDA5') @@ -36,6 +38,7 @@ prepare() { cd freetype2 patch -Np1 -i ../0001-Enable-table-validation-modules.patch patch -Np1 -i ../0002-Enable-subpixel-rendering.patch + patch -Np1 -i ../enable-subpixel-hinting.diff ./autogen.sh diff --git a/enable-subpixel-hinting.diff b/enable-subpixel-hinting.diff new file mode 100644 index 000000000000..bca0fd0b6157 --- /dev/null +++ b/enable-subpixel-hinting.diff @@ -0,0 +1,15 @@ +diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h +index 8e58403529f597e5..197e15cdc3cc1e74 100644 +--- a/include/freetype/config/ftoption.h ++++ b/include/freetype/config/ftoption.h +@@ -632,7 +632,7 @@ FT_BEGIN_HEADER + /* */ + /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */ + /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */ +-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */ ++#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) + + + /*************************************************************************/ +-- +2.9.0 |