diff --git a/freetype-2.6.3.tar.bz2 b/freetype-2.6.3.tar.bz2 deleted file mode 100644 index f425c47..0000000 --- a/freetype-2.6.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:371e707aa522acf5b15ce93f11183c725b8ed1ee8546d7b3af549863045863a2 -size 1753083 diff --git a/freetype-2.6.5.tar.bz2 b/freetype-2.6.5.tar.bz2 new file mode 100644 index 0000000..01c7348 --- /dev/null +++ b/freetype-2.6.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e20a6e1400798fd5e3d831dd821b61c35b1f9a6465d6b18a53a9df4cf441acf0 +size 1779603 diff --git a/freetype-doc-2.6.3.tar.bz2 b/freetype-doc-2.6.3.tar.bz2 deleted file mode 100644 index 5c8d1e3..0000000 --- a/freetype-doc-2.6.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28b7cb0b1ff3962d386c54cdffd3891d2126292f57b4ea9ad0467f07cf68de7d -size 5367900 diff --git a/freetype-doc-2.6.5.tar.bz2 b/freetype-doc-2.6.5.tar.bz2 new file mode 100644 index 0000000..426828b --- /dev/null +++ b/freetype-doc-2.6.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb9cd73c3a713138e690a634608ec7b64ff645f9a71ac6645804b18e38be49e9 +size 1932398 diff --git a/freetype2-subpixel.patch b/freetype2-subpixel.patch index c2adffe..8e353c9 100644 --- a/freetype2-subpixel.patch +++ b/freetype2-subpixel.patch @@ -1,7 +1,7 @@ -Index: freetype-2.6.1/include/freetype/config/ftoption.h +Index: freetype-2.6.5/include/freetype/config/ftoption.h =================================================================== ---- freetype-2.6.1.orig/include/freetype/config/ftoption.h -+++ freetype-2.6.1/include/freetype/config/ftoption.h +--- freetype-2.6.5.orig/include/freetype/config/ftoption.h ++++ freetype-2.6.5/include/freetype/config/ftoption.h @@ -92,7 +92,7 @@ FT_BEGIN_HEADER /* This is done to allow FreeType clients to run unmodified, forcing */ /* them to display normal gray-level anti-aliased glyphs. */ @@ -11,12 +11,12 @@ Index: freetype-2.6.1/include/freetype/config/ftoption.h /*************************************************************************/ -@@ -602,7 +602,7 @@ FT_BEGIN_HEADER - /* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */ - /* defined. */ +@@ -631,7 +631,7 @@ FT_BEGIN_HEADER + /* [1] http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */ /* */ --/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */ -+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING + /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */ +-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */ ++#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 + /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */ - /*************************************************************************/ diff --git a/freetype2.changes b/freetype2.changes index b077d5d..51a30ac 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Wed Jul 13 06:48:31 UTC 2016 - dimstar@opensuse.org + +- Update to version 2.6.5: + + Compilation works again on Mac OS X (bug introduced in version + 2.6.4). + + The new subpixel hinting mode is now disabled by default; it + will be enabled by default in the forthcoming 2.7.x series. + Main reason for reverting this feature is the principle of least + surprise: a sudden change in appearance of all fonts (even if + the rendering improves for almost all recent fonts) should not + be expected in a new micro version of a series. +- Rebase freetype2-subpixel.patch. + +------------------------------------------------------------------- +Fri Jul 8 08:35:09 UTC 2016 - dimstar@opensuse.org + +- Upadte to version 2.6.4: + * A new subpixel hinting mode, which is now the default rendering + mode for TrueType fonts. It implements (almost everything of) + version 40 of the bytecode engine. The existing code base in + FreeType (the `Infinality code') was stripped to the bare + minimum and all configurability removed in the name of speed + and simplicity. The configurability was mainly aimed at legacy + fonts like Arial, Times New Roman, or Courier. [Legacy fonts + are fonts that modify vertical stems to achieve clean + black-and-white bitmaps.] The new mode focuses on applying a + minimal set of rules to all fonts indiscriminately so that + modern and web fonts render well while legacy fonts render + okay. Activation of the subpixel hinting support can be + controlled with the `TT_CONFIG_OPTION_SUBPIXEL_HINTING' + configuration option at compile time: If set to value 1, you + get the old Infinality mode (which was never the default due to + its slowness). Value 2 activates the new subpixel hinting mode, + and value 3 activates both. The default is value 2. At run + time, you can select the subpixel hinting mode with the + `interpreter-version' property (provided you have compiled in + the corresponding hinting mode); see `ftttdrv.h' for more. + * Support for the following scripts has been added to the + auto-hinter: Armenian, Cherokee, Ethiopic, Georgian, Gujarati, + Gurmukhi, Malayalam, Sinhala, Tamil. +- Rebase freetype2-subpixel.patch. + ------------------------------------------------------------------- Mon Mar 28 11:54:15 UTC 2016 - idonmez@suse.com diff --git a/freetype2.spec b/freetype2.spec index 30812e2..b67bf0b 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -17,9 +17,9 @@ # -%define doc_version 2.6.3 +%define doc_version 2.6.5 Name: freetype2 -Version: 2.6.3 +Version: 2.6.5 Release: 0 Summary: A TrueType Font Library License: SUSE-Freetype or GPL-2.0+ diff --git a/ft2demos-2.6.3.tar.bz2 b/ft2demos-2.6.3.tar.bz2 deleted file mode 100644 index 39ca003..0000000 --- a/ft2demos-2.6.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b076ac52465e912d035f111ede78b88bf3dd186f91a56a54ff83ffdf862e84e4 -size 193412 diff --git a/ft2demos-2.6.5.tar.bz2 b/ft2demos-2.6.5.tar.bz2 new file mode 100644 index 0000000..852eb64 --- /dev/null +++ b/ft2demos-2.6.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:568a8f3a6301189a881d2f7ec95da280d20c862de94d81815341870e380b00e6 +size 216722 diff --git a/ft2demos.changes b/ft2demos.changes index 3ca8a5e..ef3f4af 100644 --- a/ft2demos.changes +++ b/ft2demos.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 8 08:38:28 UTC 2016 - dimstar@opensuse.org + +- Update to version 2.6.4: + + Sync with freetype 2.6.4. + ------------------------------------------------------------------- Mon Mar 28 11:55:28 UTC 2016 - idonmez@suse.com diff --git a/ft2demos.spec b/ft2demos.spec index 3d3293e..64ebc2e 100644 --- a/ft2demos.spec +++ b/ft2demos.spec @@ -16,9 +16,9 @@ # -%define freetype_version 2.6.3 +%define freetype_version 2.6.5 Name: ft2demos -Version: 2.6.3 +Version: 2.6.5 Release: 0 Summary: Freetype2 Utilities and Demo Programs License: GPL-2.0+