diff --git a/freetype-2.6.5.tar.bz2 b/freetype-2.6.5.tar.bz2 deleted file mode 100644 index 01c7348..0000000 --- a/freetype-2.6.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e20a6e1400798fd5e3d831dd821b61c35b1f9a6465d6b18a53a9df4cf441acf0 -size 1779603 diff --git a/freetype-2.7.tar.bz2 b/freetype-2.7.tar.bz2 new file mode 100644 index 0000000..94fcf48 --- /dev/null +++ b/freetype-2.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6a451f5b754857d2aa3964fd4473f8bc5c64e879b24516d780fb26bec7f7d48 +size 1789896 diff --git a/freetype-doc-2.6.5.tar.bz2 b/freetype-doc-2.6.5.tar.bz2 deleted file mode 100644 index 426828b..0000000 --- a/freetype-doc-2.6.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb9cd73c3a713138e690a634608ec7b64ff645f9a71ac6645804b18e38be49e9 -size 1932398 diff --git a/freetype-doc-2.7.tar.bz2 b/freetype-doc-2.7.tar.bz2 new file mode 100644 index 0000000..89f7372 --- /dev/null +++ b/freetype-doc-2.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8440b7e576ccbe840051c162419a39083627a4de0c7d15fd20220736c03aac66 +size 1935798 diff --git a/freetype2-subpixel.patch b/freetype2-subpixel.patch deleted file mode 100644 index 8e353c9..0000000 --- a/freetype2-subpixel.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: freetype-2.6.5/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. */ - /* */ --/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ -+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING - - - /*************************************************************************/ -@@ -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 51a30ac..7a49487 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,4 +1,50 @@ ------------------------------------------------------------------- +Fri Sep 9 16:10:39 UTC 2016 - develop7@develop7.info + +- update to version 2.7: + * IMPORTANT CHANGES + + As announced earlier, the 2.7.x series now uses the new subpixel + hinting mode as the default, emulating a modern version of + ClearType. + This change inevitably leads to different rendering results, and + you might change the `TT_CONFIG_OPTION_SUBPIXEL_HINTING' + configuration option to adapt it to your taste (or use the new + `FREETYPE_PROPERTIES' environment variable). See the + corresponding entry below for version 2.6.4, which gives more + information. + - A new option `FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES' has been + introduced. If set (which is the default), an environment + variable `FREETYPE_PROPERTIES' can be used to control driver + properties. Example: + FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ + cff:no-stem-darkening=1 \ + autofitter:warping=1 + This allows to select, say, the subpixel hinting mode at runtime + for a given application. See file `ftoption.h' for more. + * IMPORTANT BUG FIXES + + After loading a named instance of a GX variation font, the + `face_index' value in the returned `FT_Face' structure now + correctly holds the named instance index in the upper 16bits as + documented. + * MISCELLANEOUS + + A new macro `FT_IS_NAMED_INSTANCE' to test whether a given face + is a named instance. + + More fixes to GX font handling. + + Apple's `GETVARIATION' bytecode operator (needed for GX + variation font support) has been implemented. + + Another round of fuzzer fixes, mainly to reject invalid fonts + faster. + + Handling of raw CID fonts was broken (bug introduced in version + 2.6.4). + + The smooth rasterizer has been streamlined to make it faster by + approx. 20%. + + The `ftgrid' demo program now understands command line option + `-d' to give start-up design coordinates. + + The `ftdump' demo program has a new command line option `-p' to + dump TrueType bytecode instructions. +- removed freetype2-subpixel.patch in favor of above + FREETYPE_PROPERTIES environment variable +------------------------------------------------------------------- Wed Jul 13 06:48:31 UTC 2016 - dimstar@opensuse.org - Update to version 2.6.5: diff --git a/freetype2.spec b/freetype2.spec index b67bf0b..2d343e2 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -17,9 +17,9 @@ # -%define doc_version 2.6.5 +%define doc_version 2.7 Name: freetype2 -Version: 2.6.5 +Version: 2.7 Release: 0 Summary: A TrueType Font Library License: SUSE-Freetype or GPL-2.0+ @@ -29,7 +29,6 @@ Source0: http://download.savannah.gnu.org/releases/freetype/freetype-%{ve Source1: http://download.savannah.gnu.org/releases/freetype/freetype-doc-%{doc_version}.tar.bz2 Source3: baselibs.conf Patch1: freetype2-bitmap-foundry.patch -Patch200: freetype2-subpixel.patch # PATCH-FIX-OPENSUSE don-t-mark-libpng-as-required-library.patch -- it is private in .pc Patch202: don-t-mark-libpng-as-required-library.patch Patch308961: bugzilla-308961-cmex-workaround.patch @@ -81,14 +80,10 @@ It also contains a small tutorial for using that library. %prep -%define enable_subpixel_rendering 0 %setup -q -n freetype-%{version} -a 1 %patch1 -p1 %patch308961 -p 1 %patch202 -p1 -%if %{enable_subpixel_rendering} -%patch200 -p1 -%endif %build export CFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)" diff --git a/ft2demos-2.6.5.tar.bz2 b/ft2demos-2.6.5.tar.bz2 deleted file mode 100644 index 852eb64..0000000 --- a/ft2demos-2.6.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:568a8f3a6301189a881d2f7ec95da280d20c862de94d81815341870e380b00e6 -size 216722 diff --git a/ft2demos-2.7.tar.bz2 b/ft2demos-2.7.tar.bz2 new file mode 100644 index 0000000..d378b8f --- /dev/null +++ b/ft2demos-2.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0865b71dd379605bc19396b8f9a4ee8bab436f44ea55299784a20ef0ff95d9c8 +size 218381 diff --git a/ft2demos.changes b/ft2demos.changes index ef3f4af..c2c865c 100644 --- a/ft2demos.changes +++ b/ft2demos.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 9 16:14:34 UTC 2016 - develop7@develop7.info + +- update to version 2.7: + + Sync with freetype 2.7 + ------------------------------------------------------------------- Fri Jul 8 08:38:28 UTC 2016 - dimstar@opensuse.org diff --git a/ft2demos.spec b/ft2demos.spec index 64ebc2e..8ce669f 100644 --- a/ft2demos.spec +++ b/ft2demos.spec @@ -16,9 +16,9 @@ # -%define freetype_version 2.6.5 +%define freetype_version 2.7 Name: ft2demos -Version: 2.6.5 +Version: 2.7 Release: 0 Summary: Freetype2 Utilities and Demo Programs License: GPL-2.0+ @@ -31,7 +31,6 @@ Source1004: bnc629447_sigsegv31.ttf Source1013: bnc633938_badbdf.0 Source1015: bug-641580_CVE-2010-3311.cff Source1016: bug-647375_tt2.ttf -Patch200: freetype2-subpixel.patch # PATCH-FIX-UPSTREAM overflow.patch -- I: Statement is overflowing a buffer Patch201: overflow.patch # PATCH-FIX-OPENSUSE don-t-mark-libpng-as-required-library.patch -- it is private in .pc @@ -50,16 +49,12 @@ Freetype2 utilities and demo programs. %prep -%define enable_subpixel_rendering 0%{?opensuse_bs} %setup -q -n freetype-%{freetype_version} -b 1 %patch308961 -p 1 pushd ../ft2demos-%{version} %patch201 -p1 popd %patch202 -p1 -%if %{enable_subpixel_rendering} -%patch200 -p 1 -b .subpixel -%endif %build export CFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)"