Commit 681428 Enable ClearType code

2 files Authored and Committed by mkasik 15 days ago
Enable ClearType code

    
 1 @@ -1,11 +0,0 @@
 2 - --- freetype-2.3.0/include/freetype/config/ftoption.h.spf»       2007-01-18 14:27:34.000000000 -0500
 3 - +++ freetype-2.3.0/include/freetype/config/ftoption.h»       2007-01-18 14:27:48.000000000 -0500
 4 - @@ -92,7 +92,7 @@
 5 -    /* rendering technology that produces excellent output without LCD       */
 6 -    /* filtering.                                                            */
 7 -    /*                                                                       */
 8 - -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
 9 - +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
10 -  
11 -  
12 -    /*************************************************************************/
 1 @@ -1,13 +1,9 @@
 2 - # Patented subpixel rendering disabled by default.
 3 - # Pass '--with subpixel_rendering' on rpmbuild command-line to enable.
 4 - %{!?_with_subpixel_rendering: %{!?_without_subpixel_rendering: %define _without_subpixel_rendering --without-subpixel_rendering}}
 5 - 
 6   %{!?with_xfree86:%define with_xfree86 1}
 7   
 8   Summary: A free and portable font rendering engine
 9   Name: freetype
10   Version: 2.9.1
11 - Release: 3%{?dist}
12 + Release: 4%{?dist}
13   License: (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement
14   Group: System Environment/Libraries
15   URL: http://www.freetype.org
16 @@ -16,8 +12,6 @@
17   Source2: http://download.savannah.gnu.org/releases/freetype/ft2demos-%{version}.tar.bz2
18   Source3: ftconfig.h
19   
20 - Patch0:  freetype-2.3.0-enable-spr.patch
21 - 
22   # Enable otvalid and gxvalid modules
23   Patch1:  freetype-2.2.1-enable-valid.patch
24   # Enable additional demos
25 @@ -36,9 +30,6 @@
26   BuildRequires: bzip2-devel
27   
28   Provides: %{name}-bytecode
29 - %if %{?_with_subpixel_rendering:1}%{!?_with_subpixel_rendering:0}
30 - Provides: %{name}-subpixel
31 - %endif
32   
33   %description
34   The FreeType engine is a free and portable font rendering
35 @@ -78,10 +69,6 @@
36   %prep
37   %setup -q -b 1 -a 2
38   
39 - %if %{?_with_subpixel_rendering:1}%{!?_with_subpixel_rendering:0}
40 - %patch0  -p1 -b .enable-spr
41 - %endif
42 - 
43   %patch1  -p1 -b .enable-valid
44   
45   pushd ft2demos-%{version}
46 @@ -203,6 +190,9 @@
47   %{_mandir}/man1/*
48   
49   %changelog
50 + * Mon Oct 29 2018 Marek Kasik <mkasik@redhat.com> - 2.9.1-4
51 + - Enable ClearType code thanks to Microsoft joining OIN
52 + 
53   * Fri Oct 19 2018 Marek Kasik <mkasik@redhat.com> - 2.9.1-3
54   - Use 'pkgconf' directly for multilib reasons
55   - Resolves: #1639379