From 7a71daeea3474f12d7f71c88719fd5b1bf0ee18c3695162084c18491d27e001e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 8 Jul 2016 09:10:43 +0000 Subject: [PATCH 1/2] Accepting request 407235 from home:dimstar:branches:M17N - 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. - Update to version 2.6.4: + Sync with freetype 2.6.4. OBS-URL: https://build.opensuse.org/request/show/407235 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=117 --- freetype-2.6.3.tar.bz2 | 3 --- freetype-2.6.4.tar.bz2 | 3 +++ freetype-doc-2.6.3.tar.bz2 | 3 --- freetype-doc-2.6.4.tar.bz2 | 3 +++ freetype2-subpixel.patch | 9 --------- freetype2.changes | 29 +++++++++++++++++++++++++++++ freetype2.spec | 4 ++-- ft2demos-2.6.3.tar.bz2 | 3 --- ft2demos-2.6.4.tar.bz2 | 3 +++ ft2demos.changes | 6 ++++++ ft2demos.spec | 4 ++-- 11 files changed, 48 insertions(+), 22 deletions(-) delete mode 100644 freetype-2.6.3.tar.bz2 create mode 100644 freetype-2.6.4.tar.bz2 delete mode 100644 freetype-doc-2.6.3.tar.bz2 create mode 100644 freetype-doc-2.6.4.tar.bz2 delete mode 100644 ft2demos-2.6.3.tar.bz2 create mode 100644 ft2demos-2.6.4.tar.bz2 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.4.tar.bz2 b/freetype-2.6.4.tar.bz2 new file mode 100644 index 0000000..7cc8e6c --- /dev/null +++ b/freetype-2.6.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f83ce531c7035728e03f7f0421cb0533fca4e6d90d5e308674d6d313c23074d +size 1779199 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.4.tar.bz2 b/freetype-doc-2.6.4.tar.bz2 new file mode 100644 index 0000000..139e37c --- /dev/null +++ b/freetype-doc-2.6.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de68f46508a75a93fbfc3bb4fabaaae25f01cf2cf1a9bf4a7f63f948092fbf33 +size 1932412 diff --git a/freetype2-subpixel.patch b/freetype2-subpixel.patch index c2adffe..ee537fe 100644 --- a/freetype2-subpixel.patch +++ b/freetype2-subpixel.patch @@ -10,13 +10,4 @@ Index: freetype-2.6.1/include/freetype/config/ftoption.h +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING - /*************************************************************************/ -@@ -602,7 +602,7 @@ FT_BEGIN_HEADER - /* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */ - /* defined. */ - /* */ --/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */ -+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING - - /*************************************************************************/ diff --git a/freetype2.changes b/freetype2.changes index b077d5d..3e8faeb 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +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..2566469 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -17,9 +17,9 @@ # -%define doc_version 2.6.3 +%define doc_version 2.6.4 Name: freetype2 -Version: 2.6.3 +Version: 2.6.4 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.4.tar.bz2 b/ft2demos-2.6.4.tar.bz2 new file mode 100644 index 0000000..3c4feb8 --- /dev/null +++ b/ft2demos-2.6.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d60c4c276dad655abe742882b9cc52e3e7d133706e99c57ad18d83d71a8e7ad +size 216908 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..bb643b1 100644 --- a/ft2demos.spec +++ b/ft2demos.spec @@ -16,9 +16,9 @@ # -%define freetype_version 2.6.3 +%define freetype_version 2.6.4 Name: ft2demos -Version: 2.6.3 +Version: 2.6.4 Release: 0 Summary: Freetype2 Utilities and Demo Programs License: GPL-2.0+ From 6f63320a17556c3fa82ca78c1997ca66957d6ef8786889f7e128d4e4ec9ce65f Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Wed, 13 Jul 2016 07:45:41 +0000 Subject: [PATCH 2/2] Accepting request 408213 from home:dimstar:Factory Update to 2.6.5 - addresses regression of 2.6.4 (like gd test suite failure) OBS-URL: https://build.opensuse.org/request/show/408213 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=118 --- freetype-2.6.4.tar.bz2 | 3 --- freetype-2.6.5.tar.bz2 | 3 +++ freetype-doc-2.6.4.tar.bz2 | 3 --- freetype-doc-2.6.5.tar.bz2 | 3 +++ freetype2-subpixel.patch | 15 ++++++++++++--- freetype2.changes | 14 ++++++++++++++ freetype2.spec | 4 ++-- ft2demos-2.6.4.tar.bz2 | 3 --- ft2demos-2.6.5.tar.bz2 | 3 +++ ft2demos.spec | 4 ++-- 10 files changed, 39 insertions(+), 16 deletions(-) delete mode 100644 freetype-2.6.4.tar.bz2 create mode 100644 freetype-2.6.5.tar.bz2 delete mode 100644 freetype-doc-2.6.4.tar.bz2 create mode 100644 freetype-doc-2.6.5.tar.bz2 delete mode 100644 ft2demos-2.6.4.tar.bz2 create mode 100644 ft2demos-2.6.5.tar.bz2 diff --git a/freetype-2.6.4.tar.bz2 b/freetype-2.6.4.tar.bz2 deleted file mode 100644 index 7cc8e6c..0000000 --- a/freetype-2.6.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f83ce531c7035728e03f7f0421cb0533fca4e6d90d5e308674d6d313c23074d -size 1779199 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.4.tar.bz2 b/freetype-doc-2.6.4.tar.bz2 deleted file mode 100644 index 139e37c..0000000 --- a/freetype-doc-2.6.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de68f46508a75a93fbfc3bb4fabaaae25f01cf2cf1a9bf4a7f63f948092fbf33 -size 1932412 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 ee537fe..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,3 +11,12 @@ Index: freetype-2.6.1/include/freetype/config/ftoption.h /*************************************************************************/ +@@ -631,7 +631,7 @@ FT_BEGIN_HEADER + /* [1] http://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */ + /* */ + /* #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 3e8faeb..51a30ac 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +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 diff --git a/freetype2.spec b/freetype2.spec index 2566469..b67bf0b 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -17,9 +17,9 @@ # -%define doc_version 2.6.4 +%define doc_version 2.6.5 Name: freetype2 -Version: 2.6.4 +Version: 2.6.5 Release: 0 Summary: A TrueType Font Library License: SUSE-Freetype or GPL-2.0+ diff --git a/ft2demos-2.6.4.tar.bz2 b/ft2demos-2.6.4.tar.bz2 deleted file mode 100644 index 3c4feb8..0000000 --- a/ft2demos-2.6.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d60c4c276dad655abe742882b9cc52e3e7d133706e99c57ad18d83d71a8e7ad -size 216908 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.spec b/ft2demos.spec index bb643b1..64ebc2e 100644 --- a/ft2demos.spec +++ b/ft2demos.spec @@ -16,9 +16,9 @@ # -%define freetype_version 2.6.4 +%define freetype_version 2.6.5 Name: ft2demos -Version: 2.6.4 +Version: 2.6.5 Release: 0 Summary: Freetype2 Utilities and Demo Programs License: GPL-2.0+