Accepting request 426182 from home:develop7:branches:M17N
update to version 2.7 also removed freetype2-subpixel.patch in favor of newly introduced FREETYPE_PROPERTIES environment variable OBS-URL: https://build.opensuse.org/request/show/426182 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=120
This commit is contained in:
parent
6f63320a17
commit
3ab4410fe2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e20a6e1400798fd5e3d831dd821b61c35b1f9a6465d6b18a53a9df4cf441acf0
|
||||
size 1779603
|
3
freetype-2.7.tar.bz2
Normal file
3
freetype-2.7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6a451f5b754857d2aa3964fd4473f8bc5c64e879b24516d780fb26bec7f7d48
|
||||
size 1789896
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb9cd73c3a713138e690a634608ec7b64ff645f9a71ac6645804b18e38be49e9
|
||||
size 1932398
|
3
freetype-doc-2.7.tar.bz2
Normal file
3
freetype-doc-2.7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8440b7e576ccbe840051c162419a39083627a4de0c7d15fd20220736c03aac66
|
||||
size 1935798
|
@ -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 ) */
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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)"
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:568a8f3a6301189a881d2f7ec95da280d20c862de94d81815341870e380b00e6
|
||||
size 216722
|
3
ft2demos-2.7.tar.bz2
Normal file
3
ft2demos-2.7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0865b71dd379605bc19396b8f9a4ee8bab436f44ea55299784a20ef0ff95d9c8
|
||||
size 218381
|
@ -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
|
||||
|
||||
|
@ -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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user