Hello community,

here is the log from the commit of package freetype2 for openSUSE:Factory 
checked in at 2016-07-20 09:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freetype2 (Old)
 and      /work/SRC/openSUSE:Factory/.freetype2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "freetype2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/freetype2/freetype2.changes      2016-04-01 
13:01:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.freetype2.new/freetype2.changes 2016-07-20 
09:15:33.000000000 +0200
@@ -1,0 +2,43 @@
+Wed Jul 13 06:48:31 UTC 2016 - [email protected]
+
+- 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 - [email protected]
+
+- 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.
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/freetype2/ft2demos.changes       2016-04-01 
13:01:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.freetype2.new/ft2demos.changes  2016-07-20 
09:15:33.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul  8 08:38:28 UTC 2016 - [email protected]
+
+- Update to version 2.6.4:
+  + Sync with freetype 2.6.4.
+
+-------------------------------------------------------------------

Old:
----
  freetype-2.6.3.tar.bz2
  freetype-doc-2.6.3.tar.bz2
  ft2demos-2.6.3.tar.bz2

New:
----
  freetype-2.6.5.tar.bz2
  freetype-doc-2.6.5.tar.bz2
  ft2demos-2.6.5.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ freetype2.spec ++++++
--- /var/tmp/diff_new_pack.yZKeJz/_old  2016-07-20 09:15:35.000000000 +0200
+++ /var/tmp/diff_new_pack.yZKeJz/_new  2016-07-20 09:15:35.000000000 +0200
@@ -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+

++++++ ft2demos.spec ++++++
--- /var/tmp/diff_new_pack.yZKeJz/_old  2016-07-20 09:15:35.000000000 +0200
+++ /var/tmp/diff_new_pack.yZKeJz/_new  2016-07-20 09:15:35.000000000 +0200
@@ -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+






++++++ freetype-2.6.3.tar.bz2 -> freetype-2.6.5.tar.bz2 ++++++
++++ 17436 lines of diff (skipped)

++++++ freetype-doc-2.6.3.tar.bz2 -> freetype-doc-2.6.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freetype-2.6.3/README.freetype-doc 
new/freetype-2.6.5/README.freetype-doc
--- old/freetype-2.6.3/README.freetype-doc      2016-02-09 07:30:39.000000000 
+0100
+++ new/freetype-2.6.5/README.freetype-doc      2016-07-12 07:41:44.000000000 
+0200
@@ -7,10 +7,10 @@
 
   mkdir src
   cd src
-  tar xzvf freetype-2.6.3.tar.gz
-  tar xzvf freetype-doc-2.6.3.tar.gz
+  tar xzvf freetype-2.6.5.tar.gz
+  tar xzvf freetype-doc-2.6.5.tar.gz
 
-Now you can move the `docs' subdirectory of `freetype-2.6.3' to any place
+Now you can move the `docs' subdirectory of `freetype-2.6.5' to any place
 you want.
 
 The entry point for the documentation is
Files old/freetype-2.6.3/docs/design/basic-design.png and 
new/freetype-2.6.5/docs/design/basic-design.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freetype-2.6.3/docs/design/design-5.html 
new/freetype-2.6.5/docs/design/design-5.html
--- old/freetype-2.6.3/docs/design/design-5.html        2016-02-09 
07:30:39.000000000 +0100
+++ new/freetype-2.6.5/docs/design/design-5.html        2016-07-12 
07:41:44.000000000 +0200
@@ -352,7 +352,7 @@
         of the module to call "get_interface()" each time they need to
         access one of the object's common entry points.</p>
 
-        <p>Note that is is optional, and can be set to NULL.  Other
+        <p>Note that it is optional, and can be set to NULL.  Other
         interfaces can also be accessed through the <tt>get_interface()</tt>
         field.</p>
       </td>
Files old/freetype-2.6.3/docs/design/detailed-design.png and 
new/freetype-2.6.5/docs/design/detailed-design.png differ
Files old/freetype-2.6.3/docs/design/library-model.png and 
new/freetype-2.6.5/docs/design/library-model.png differ
Files old/freetype-2.6.3/docs/design/simple-model.png and 
new/freetype-2.6.5/docs/design/simple-model.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freetype-2.6.3/docs/documentation.html 
new/freetype-2.6.5/docs/documentation.html
--- old/freetype-2.6.3/docs/documentation.html  2016-02-09 07:30:39.000000000 
+0100
+++ new/freetype-2.6.5/docs/documentation.html  2016-07-12 07:41:44.000000000 
+0200
@@ -87,6 +87,14 @@
           <h3><a href="design/index.html">The Design of
               FreeType</a></h3>
 
+          <h3><a href="text-rendering-general.html">On Slight Hinting,
+              Proper Text Rendering, Stem Darkening and LCD
+              Filters</a></h3>
+          <p>Originally written for the 2.6.2 release, contains
+            background information on several details of text
+            rendering.  Useful for better understanding the ‘big
+            picture’.</p>
+
           <h3><a href="rasterinfo/rasterinfo.html">The RasterInfo
               Font</a></h3>
         </div>
@@ -95,7 +103,7 @@
         <!-- ************************************************** -->
 
         <div class="updated">
-          <p>Last update: 05-Oct-2015</p>
+          <p>Last update: 11-Feb-2016</p>
         </div>
       </div>
     </div>
Files old/freetype-2.6.3/docs/glyphs/Image1.png and 
new/freetype-2.6.5/docs/glyphs/Image1.png differ
Files old/freetype-2.6.3/docs/glyphs/Image2.png and 
new/freetype-2.6.5/docs/glyphs/Image2.png differ
Files old/freetype-2.6.3/docs/glyphs/Image3.png and 
new/freetype-2.6.5/docs/glyphs/Image3.png differ
Files old/freetype-2.6.3/docs/glyphs/Image4.png and 
new/freetype-2.6.5/docs/glyphs/Image4.png differ
Files old/freetype-2.6.3/docs/glyphs/bbox1.png and 
new/freetype-2.6.5/docs/glyphs/bbox1.png differ
Files old/freetype-2.6.3/docs/glyphs/bbox2.png and 
new/freetype-2.6.5/docs/glyphs/bbox2.png differ
Files old/freetype-2.6.3/docs/glyphs/body_comparison.png and 
new/freetype-2.6.5/docs/glyphs/body_comparison.png differ
Files old/freetype-2.6.3/docs/glyphs/bravo_kerned.png and 
new/freetype-2.6.5/docs/glyphs/bravo_kerned.png differ
Files old/freetype-2.6.3/docs/glyphs/bravo_unkerned.png and 
new/freetype-2.6.5/docs/glyphs/bravo_unkerned.png differ
Files old/freetype-2.6.3/docs/glyphs/clipping.png and 
new/freetype-2.6.5/docs/glyphs/clipping.png differ
Files old/freetype-2.6.3/docs/glyphs/down_flow.png and 
new/freetype-2.6.5/docs/glyphs/down_flow.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freetype-2.6.3/docs/glyphs/glyphs-3.html 
new/freetype-2.6.5/docs/glyphs/glyphs-3.html
--- old/freetype-2.6.3/docs/glyphs/glyphs-3.html        2016-02-09 
07:30:39.000000000 +0100
+++ new/freetype-2.6.5/docs/glyphs/glyphs-3.html        2016-07-12 
07:41:44.000000000 +0200
@@ -90,7 +90,7 @@
                  baseline.</em></p>
 
               <p align="center">
-               <img src="Image1.png"
+               <img src="layout.png"
                     height="179"
                     width="458"
                     alt="horizontal layout">
@@ -101,7 +101,7 @@
                the baseline:</p>
 
               <p align="center">
-               <img src="Image2.png"
+               <img src="layout2.png"
                     height="275"
                     width="162"
                     alt="vertical layout">
@@ -290,7 +290,7 @@
          <p>Here is a picture giving all the details for horizontal metrics:
 
          <p align="center">
-           <img src="Image3.png"
+           <img src="metrics.png"
                 height="253"
                 width="388"
                 alt="horizontal glyph metrics">
@@ -299,7 +299,7 @@
          <p>And here is another one for the vertical metrics:</p>
 
          <p align="center">
-           <img src="Image4.png"
+           <img src="metrics2.png"
                 height="278"
                 width="294"
                 alt="vertical glyph metrics">
Files old/freetype-2.6.3/docs/glyphs/grid_1.png and 
new/freetype-2.6.5/docs/glyphs/grid_1.png differ
Files old/freetype-2.6.3/docs/glyphs/layout.png and 
new/freetype-2.6.5/docs/glyphs/layout.png differ
Files old/freetype-2.6.3/docs/glyphs/layout2.png and 
new/freetype-2.6.5/docs/glyphs/layout2.png differ
Files old/freetype-2.6.3/docs/glyphs/metrics.png and 
new/freetype-2.6.5/docs/glyphs/metrics.png differ
Files old/freetype-2.6.3/docs/glyphs/metrics2.png and 
new/freetype-2.6.5/docs/glyphs/metrics2.png differ
Files old/freetype-2.6.3/docs/glyphs/points_conic.png and 
new/freetype-2.6.5/docs/glyphs/points_conic.png differ
Files old/freetype-2.6.3/docs/glyphs/points_conic2.png and 
new/freetype-2.6.5/docs/glyphs/points_conic2.png differ
Files old/freetype-2.6.3/docs/glyphs/points_cubic.png and 
new/freetype-2.6.5/docs/glyphs/points_cubic.png differ
Files old/freetype-2.6.3/docs/glyphs/points_segment.png and 
new/freetype-2.6.5/docs/glyphs/points_segment.png differ
Files old/freetype-2.6.3/docs/glyphs/twlewis1.png and 
new/freetype-2.6.5/docs/glyphs/twlewis1.png differ
Files old/freetype-2.6.3/docs/glyphs/twlewis2.png and 
new/freetype-2.6.5/docs/glyphs/twlewis2.png differ
Files old/freetype-2.6.3/docs/glyphs/up_flow.png and 
new/freetype-2.6.5/docs/glyphs/up_flow.png differ
Files old/freetype-2.6.3/docs/image/BlendingExamples-thumbnail.jpg and 
new/freetype-2.6.5/docs/image/BlendingExamples-thumbnail.jpg differ
Files old/freetype-2.6.3/docs/image/BlendingExamples-thumbnail.png and 
new/freetype-2.6.5/docs/image/BlendingExamples-thumbnail.png differ
Files old/freetype-2.6.3/docs/image/BlendingExamples.png and 
new/freetype-2.6.5/docs/image/BlendingExamples.png differ
Files 
old/freetype-2.6.3/docs/image/freetype-262-autohinter-stem-darkening-demo1-thumbnail.jpg
 and 
new/freetype-2.6.5/docs/image/freetype-262-autohinter-stem-darkening-demo1-thumbnail.jpg
 differ
Files 
old/freetype-2.6.3/docs/image/freetype-262-autohinter-stem-darkening-demo1-thumbnail.png
 and 
new/freetype-2.6.5/docs/image/freetype-262-autohinter-stem-darkening-demo1-thumbnail.png
 differ
Files 
old/freetype-2.6.3/docs/image/freetype-262-autohinter-stem-darkening-demo1.png 
and 
new/freetype-2.6.5/docs/image/freetype-262-autohinter-stem-darkening-demo1.png 
differ
Files 
old/freetype-2.6.3/docs/image/freetype-262-autohinter-stem-darkening-demo2-thumbnail.jpg
 and 
new/freetype-2.6.5/docs/image/freetype-262-autohinter-stem-darkening-demo2-thumbnail.jpg
 differ
Files 
old/freetype-2.6.3/docs/image/freetype-262-autohinter-stem-darkening-demo2-thumbnail.png
 and 
new/freetype-2.6.5/docs/image/freetype-262-autohinter-stem-darkening-demo2-thumbnail.png
 differ
Files 
old/freetype-2.6.3/docs/image/freetype-262-autohinter-stem-darkening-demo2.png 
and 
new/freetype-2.6.5/docs/image/freetype-262-autohinter-stem-darkening-demo2.png 
differ
Files old/freetype-2.6.3/docs/image/freetype-262-new-old-filter-thumbnail.jpg 
and new/freetype-2.6.5/docs/image/freetype-262-new-old-filter-thumbnail.jpg 
differ
Files old/freetype-2.6.3/docs/image/freetype-262-new-old-filter-thumbnail.png 
and new/freetype-2.6.5/docs/image/freetype-262-new-old-filter-thumbnail.png 
differ
Files old/freetype-2.6.3/docs/image/freetype-262-new-old-filter.png and 
new/freetype-2.6.5/docs/image/freetype-262-new-old-filter.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freetype-2.6.3/docs/tutorial/example3.cpp 
new/freetype-2.6.5/docs/tutorial/example3.cpp
--- old/freetype-2.6.3/docs/tutorial/example3.cpp       2016-02-09 
07:30:39.000000000 +0100
+++ new/freetype-2.6.5/docs/tutorial/example3.cpp       2016-07-12 
07:41:44.000000000 +0200
@@ -1,19 +1,17 @@
 // example3.cpp
 
-// This file demonstrates how to use FreeType's stand-alone renderer,
-// both in B/W and 5-levels gray mode.
+// This file demonstrates how to use FreeType's stand-alone B/W renderer.
 //
 // Copy the files ftraster.c, ftimage.h, and ftmisc.h into the same
 // directory as this file, then say
 //
-//   g++ -D_STANDALONE_ \
-//       -DFT_RASTER_OPTION_ANTI_ALIASING \
+//   g++ -D STANDALONE_ \
 //       -o example3 example3.cpp
 //
 // You need FreeType version 2.3.10 or newer.
 //
 // Written Sep. 2009 by Werner Lemberg,
-// based on code contributed by Erik M�ller.
+// based on code contributed by Erik Möller.
 //
 // Public domain.
 
@@ -39,30 +37,30 @@
 };
 
 void*
-MY_Alloc_Func(FT_Memory memory,
+MY_Alloc_Func(FT_Memory /* memory */,
               long size)
 {
-  return malloc(size);
+  return malloc((size_t)size);
 }
 
 void
-MY_Free_Func(FT_Memory memory,
+MY_Free_Func(FT_Memory /* memory */,
              void *block)
 {
   free(block);
 }
 
 void*
-MY_Realloc_Func(FT_Memory memory,
-                long cur_size,
+MY_Realloc_Func(FT_Memory /* memory */,
+                long /* cur_size */,
                 long new_size,
                 void* block)
 {
-  return realloc(block, new_size);
+  return realloc(block, (size_t)new_size);
 }
 
 
-FT_Memory mem;
+static FT_Memory mem;
 
 
 // Render a shape and dump it out as out-mono.pbm (b/w) and
@@ -103,8 +101,6 @@
 
   // 1 bit per pixel.
   const int pitch_mono = (width + 7) >> 3;
-  // 8 bits per pixel; must be a multiple of four.
-  const int pitch_gray = (width + 3) & -4;
 
 
   FT_Bitmap bmp;
@@ -140,35 +136,6 @@
   out_mono << "P4 " << width << " " << rows << "\n";
   out_mono.write((const char *)bmp.buffer, rows * pitch_mono);
 
-  delete[] bmp.buffer;
-
-
-  // Set up a pixmap.
-  bmp.buffer = new unsigned char[rows * pitch_gray];
-  memset(bmp.buffer, 0, rows * pitch_gray);
-  bmp.width = width;
-  bmp.rows = rows;
-  bmp.pitch = pitch_gray;
-  bmp.pixel_mode = FT_PIXEL_MODE_GRAY;
-  bmp.num_grays = 16;
-
-  // Set up the necessary raster parameters.
-  memset(&params, 0, sizeof (params));
-  params.source = &outline;
-  params.target = &bmp;
-  params.flags = FT_RASTER_FLAG_AA;
-
-  // Initialize the rasterer and get it to render into the pixmap.
-  ft_standard_raster.raster_new(mem, &raster);
-  ft_standard_raster.raster_reset(raster, renderPool, kRenderPoolSize);
-  ft_standard_raster.raster_render(raster, &params);
-
-  // Dump out the raw image data (in PBM format).
-  std::ofstream out_gray("out-gray.pgm", std::ios::binary);
-  out_gray << "P5 " << width << " " << rows << " 255\n";
-  out_gray.write((const char *)bmp.buffer, rows * pitch_gray);
-
-
   // Cleanup.
   delete[] renderPool;
   delete[] bmp.buffer;
Files old/freetype-2.6.3/docs/tutorial/metrics.png and 
new/freetype-2.6.5/docs/tutorial/metrics.png differ
Files old/freetype-2.6.3/docs/tutorial/metrics2.png and 
new/freetype-2.6.5/docs/tutorial/metrics2.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/freetype-2.6.3/docs/tutorial/step3.html 
new/freetype-2.6.5/docs/tutorial/step3.html
--- old/freetype-2.6.3/docs/tutorial/step3.html 2016-02-09 07:30:39.000000000 
+0100
+++ new/freetype-2.6.5/docs/tutorial/step3.html 2016-07-12 07:41:44.000000000 
+0200
@@ -71,9 +71,9 @@
             found <a href="example2.cpp">here</a>.</p>
 
           <p><a href="example3.cpp">Another example</a> demonstrates
-            how to use FreeType's stand-alone rasterizer,
-            <tt>ftraster.c</tt>, both in B/W and 5-levels gray mode.
-            You need files from FreeType version 2.3.10 or newer.</p>
+            how to use FreeType's stand-alone B/W rasterizer,
+            <tt>ftraster.c</tt>.  You need files from FreeType version
+            2.3.10 or newer.</p>
 
           <p><a href="mailto:[email protected]";>Róbert Márki</a>
             contributed a small
@@ -87,7 +87,7 @@
         <!-- ************************************************** -->
 
         <div class="updated">
-          <p>Last update: 13-Dec-2014</p>
+          <p>Last update: 23-Mar-2016</p>
         </div>
       </div>
     </div>

++++++ freetype2-subpixel.patch ++++++
--- /var/tmp/diff_new_pack.yZKeJz/_old  2016-07-20 09:15:37.000000000 +0200
+++ /var/tmp/diff_new_pack.yZKeJz/_new  2016-07-20 09:15:37.000000000 +0200
@@ -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 @@
  
  
    /*************************************************************************/
-@@ -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 ) */
  
  
-   /*************************************************************************/

++++++ ft2demos-2.6.3.tar.bz2 -> ft2demos-2.6.5.tar.bz2 ++++++
++++ 6857 lines of diff (skipped)


Reply via email to