![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package freetype2 for openSUSE:Factory checked in at 2013-06-18 15:11:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-01-17 09:39:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.freetype2.new/freetype2.changes 2013-06-18 15:11:57.000000000 +0200 @@ -1,0 +2,16 @@ +Sun Jun 9 03:58:33 UTC 2013 - crrodriguez@opensuse.org + +- Library and tools must be compiled with large file + support in 32 bit archs just like the rest of system. + +------------------------------------------------------------------- +Fri May 10 18:05:44 UTC 2013 - idonmez@suse.com + +- Update to version 2.4.12 + * A new CFF rendering engine from Adobe + * The macro FT_CONFIG_OPTION_OLD_INTERNALS is no longer set by + default. +- freetype-new-cff-engine.patch: Enable the new CFF engine by default. +- Drop freetype2-no_rpath.patch, not needed. + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/freetype2/ft2demos.changes 2013-01-17 09:39:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.freetype2.new/ft2demos.changes 2013-06-18 15:11:57.000000000 +0200 @@ -1,0 +2,31 @@ +Wed Jun 12 08:46:35 UTC 2013 - werner@suse.com + +- Add conflict to package dtc for /usr/bin/ftdump as the two tools + are different, + dtc: ftdump -- Flat Tree dumping utility + ft2demos: ftdump -- Simple font dumper + +------------------------------------------------------------------- +Fri May 10 18:09:21 UTC 2013 - idonmez@suse.com + +- Update to version 2.4.12 + * Using the `H' key, it is now possible to select the CFF engine + in both ftview and ftdiff. + * The new command line option '-H' for `ftbench' selects the Adobe + CFF engine. + * It is now possible to directly select the LCD rendering mode + with the keys 'A'-'F' in 'ftview'. The key mapping for cycling + through LCD modes has been changed from 'K' and 'L' to 'k' and + 'l', and toggling custom LCD filtering is no longer mapped to + key 'F' but to key 'L'. + * In `ftdiff', key 'x' toggles between layout modes: Either use + the advance width (this is new and now the default) or the + bounding box information to determine line breaks. + * For all demo tools, the new command line option `-v' shows the + version. + * For the demo tools with a GUI, the new command line options '-w' + and '-h' select the width and the height of the output window, + respectively. +- Drop ft2demos-build-testname.patch, not needed. + +------------------------------------------------------------------- Old: ---- freetype-2.4.11.tar.bz2 freetype-doc-2.4.11.tar.bz2 freetype2-no_rpath.patch ft2demos-2.4.11.tar.bz2 ft2demos-build-testname.patch New: ---- freetype-2.4.12.tar.bz2 freetype-doc-2.4.12.tar.bz2 freetype-new-cff-engine.patch ft2demos-2.4.12.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freetype2.spec ++++++ --- /var/tmp/diff_new_pack.dc9Jx9/_old 2013-06-18 15:11:58.000000000 +0200 +++ /var/tmp/diff_new_pack.dc9Jx9/_new 2013-06-18 15:11:58.000000000 +0200 @@ -25,7 +25,7 @@ Obsoletes: freetype2-64bit %endif # -Version: 2.4.11 +Version: 2.4.12 Release: 0 Summary: A TrueType Font Library License: SUSE-Freetype or GPL-2.0+ @@ -34,8 +34,8 @@ Source0: http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2 Source1: http://download.savannah.gnu.org/releases/freetype/freetype-doc-%{version}.tar.bz2 Source3: baselibs.conf +Patch1: freetype-new-cff-engine.patch Patch3: freetype2-bitmap-foundry.patch -Patch10: freetype2-no_rpath.patch Patch308961: bugzilla-308961-cmex-workaround.patch Patch200: freetype2-subpixel.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -78,15 +78,15 @@ %prep %define enable_subpixel_rendering 0 %setup -q -n freetype-%{version} -a 1 -%patch3 -p 1 -b .bitmap-foundry -%patch10 +%patch1 -p1 +%patch3 -p1 %patch308961 -p 1 %if %{enable_subpixel_rendering} -%patch200 -p 1 -b .subpixel +%patch200 -p1 %endif %build -export CFLAGS="%optflags -std=gnu99 -D_GNU_SOURCE" +export CFLAGS="%optflags -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)" %configure --without-bzip2 \ --disable-static make %{?_smp_mflags} ++++++ ft2demos.spec ++++++ --- /var/tmp/diff_new_pack.dc9Jx9/_old 2013-06-18 15:11:59.000000000 +0200 +++ /var/tmp/diff_new_pack.dc9Jx9/_new 2013-06-18 15:11:59.000000000 +0200 @@ -17,7 +17,7 @@ Name: ft2demos -Version: 2.4.11 +Version: 2.4.12 Release: 0 Summary: Freetype2 Utilities and Demo Programs License: GPL-2.0+ @@ -27,9 +27,9 @@ Source0: http://savannah.nongnu.org/download/freetype/freetype-%{version}.tar.bz2 Source1: http://savannah.nongnu.org/download/freetype/ft2demos-%{version}.tar.bz2 Patch308961: bugzilla-308961-cmex-workaround.patch -Patch50: ft2demos-build-testname.patch Patch200: freetype2-subpixel.patch BuildRequires: xorg-x11-devel +Conflicts: dtc Supplements: fonts-config Source1000: bnc628213_test.otf Source1004: bnc629447_sigsegv31.ttf @@ -45,14 +45,12 @@ %define enable_subpixel_rendering 0%{?opensuse_bs} %setup -q -n freetype-%{freetype_version} -b 1 %patch308961 -p 1 -pushd ../ft2demos-%{version} -%patch50 -p 1 -popd %if %{enable_subpixel_rendering} %patch200 -p 1 -b .subpixel %endif %build +export CFLAGS="%optflags -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)" %configure --without-bzip2 make %{?_smp_mflags} pushd .. ++++++ freetype-2.4.11.tar.bz2 -> freetype-2.4.12.tar.bz2 ++++++ ++++ 33397 lines of diff (skipped) ++++++ freetype-doc-2.4.11.tar.bz2 -> freetype-doc-2.4.12.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freetype-2.4.11/docs/design/design-2.html new/freetype-2.4.12/docs/design/design-2.html --- old/freetype-2.4.11/docs/design/design-2.html 2007-02-06 12:10:26.000000000 +0100 +++ new/freetype-2.4.12/docs/design/design-2.html 2013-01-16 20:12:48.000000000 +0100 @@ -84,7 +84,7 @@ <li> <p>The base layer also contains a set of routines that are used for generic things like memory allocation, list processing, i/o stream - parsing, fixed point computation, etc. these functions can also be + parsing, fixed-point computation, etc. these functions can also be called by a module at any time, and they form what is called the <b>low-level base API</b>.</p> </li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freetype-2.4.11/docs/design/design-5.html new/freetype-2.4.12/docs/design/design-5.html --- old/freetype-2.4.11/docs/design/design-5.html 2009-03-11 06:53:53.000000000 +0100 +++ new/freetype-2.4.12/docs/design/design-5.html 2013-01-16 20:12:48.000000000 +0100 @@ -326,7 +326,7 @@ <tt>module_version</tt> </td> <td> - <p>A 16.16 fixed float number giving the module's major and minor + <p>A 16.16 fixed-point number giving the module's major and minor version numbers. It is used to determine whether a module needs to be upgraded when calling <tt>FT_Add_Module()</tt>.</p> </td> @@ -336,7 +336,7 @@ <tt>module_requires</tt> </td> <td> - <p>A 16.16 fixed float number giving the version of FreeType 2 + <p>A 16.16 fixed-point number giving the version of FreeType 2 that is required to install this module. The default value is 0x20000 for FreeType version 2.0</p> </td> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freetype-2.4.11/docs/glyphs/glyphs-3.html new/freetype-2.4.12/docs/glyphs/glyphs-3.html --- old/freetype-2.4.11/docs/glyphs/glyphs-3.html 2002-09-18 09:39:34.000000000 +0200 +++ new/freetype-2.4.12/docs/glyphs/glyphs-3.html 2013-01-16 20:12:48.000000000 +0100 @@ -351,7 +351,7 @@ should aways take care of <b>exclusively using integer pixel distances</b> (which means that the parameters to the <tt>FT_Outline_Translate()</tt> API should all be multiples - of 64, as the point coordinates are in 26.6 fixed float + of 64, as the point coordinates are in 26.6 fixed-point format).</p> <p>Otherwise, the translation will simply <em>ruin the hinter's diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freetype-2.4.11/docs/glyphs/glyphs-6.html new/freetype-2.4.12/docs/glyphs/glyphs-6.html --- old/freetype-2.4.11/docs/glyphs/glyphs-6.html 2011-03-06 17:11:50.000000000 +0100 +++ new/freetype-2.4.12/docs/glyphs/glyphs-6.html 2013-01-16 20:12:48.000000000 +0100 @@ -271,7 +271,7 @@ <p>Here, <tt>points</tt> is a pointer to an array of <tt>FT_Vector</tt> records, used to store the vectorial coordinates of each outline point. These are expressed in 1/64th of a pixel, which - is also known as the <em>26.6 fixed float format</em>.</p> + is also known as the <em>26.6 fixed-point format</em>.</p> <p><tt>contours</tt> is an array of point indices used to delimit contours in the outline. For example, the first contour always starts diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freetype-2.4.11/docs/tutorial/step1.html new/freetype-2.4.12/docs/tutorial/step1.html --- old/freetype-2.4.11/docs/tutorial/step1.html 2012-09-20 12:27:16.000000000 +0200 +++ new/freetype-2.4.12/docs/tutorial/step1.html 2013-04-10 14:12:53.000000000 +0200 @@ -787,17 +787,17 @@ <p>Note that the matrix pointer can be set to NULL, in which case the identity transform will be used. Coefficients of the matrix are - otherwise in 16.16 fixed float units.</p> + otherwise in 16.16 fixed-point units.</p> <p>The vector pointer can also be set to NULL (in which case a delta of (0,0) will be used). The vector coordinates are expressed in - 1/64th of a pixel (also known as 26.6 fixed floats).</p> + 1/64th of a pixel (also known as 26.6 fixed-point numbers).</p> <p><font color="red">NOTE: The transformation is applied to every glyph that is loaded through <tt>FT_Load_Glyph</tt> and is <em>completely independent of any hinting process</em>. This means that you won't get the same results if you load a glyph at the size of - 24 pixels, or a glyph at the size at 12 pixels scaled + 24 pixels, or a glyph at the size of 12 pixels scaled by 2 through a transform, because the hints will have been computed differently (except you have disabled hints).</font></p> @@ -808,6 +808,8 @@ <tt>FT_Set_Transform</tt>. This is explained in details in a later section of this tutorial.</p> + <p><font color="red">NOTE2: Rotation usually disables hinting.</font></p> + <p>Loading a glyph bitmap with a non-identity transformation works; the transformation is ignored in this case.</p> @@ -1098,7 +1100,7 @@ <a href="step2.html">FreeType 2 Tutorial Step 2</a> </h3> -<p><font size=-3>Last update: 20-Sep-2012</font></p> +<p><font size=-3>Last update: 10-Apr-2013</font></p> </body> </html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freetype-2.4.11/docs/tutorial/step2.html new/freetype-2.4.12/docs/tutorial/step2.html --- old/freetype-2.4.11/docs/tutorial/step2.html 2012-05-06 11:11:10.000000000 +0200 +++ new/freetype-2.4.12/docs/tutorial/step2.html 2013-04-10 14:06:09.000000000 +0200 @@ -243,7 +243,7 @@ <tt>metrics.horiAdvance</tt> that is returned in the glyph slot is normally rounded to integer pixel coordinates (i.e., it will be a multiple of 64) by the font driver used to load the glyph - image. <tt>linearHoriAdvance</tt> is a 16.16 fixed float number + image. <tt>linearHoriAdvance</tt> is a 16.16 fixed-point number that gives the value of the original glyph advance width in 1/65536th of pixels. It can be use to perform pseudo device-independent text layouts.</p> @@ -348,7 +348,7 @@ <tt>FT_Done_Glyph</tt></a>.</p> <p>The glyph object contains exactly one glyph image and a 2D vector - representing the glyph's advance in 16.16 fixed float coordinates. + representing the glyph's advance in 16.16 fixed-point coordinates. The latter can be accessed directly as <tt>glyph->advance</tt></p> <p><font color="red">Note that unlike other FreeType objects, the @@ -1077,6 +1077,7 @@ void compute_string_bbox( FT_BBox *abbox ) { FT_BBox bbox; + FT_BBox glyph_bbox; <span class="comment">/* initialize string bbox to "empty" values */</span> @@ -1087,9 +1088,6 @@ <span class="comment">/* translate it, and grow the string bbox */</span> for ( n = 0; n < num_glyphs; n++ ) { - FT_BBox glyph_bbox; - - FT_Glyph_Get_CBox( glyphs[n], ft_glyph_bbox_pixels, &glyph_bbox ); @@ -1121,7 +1119,7 @@ } <span class="comment">/* return string bbox */</span> - *abbox = bbox; + *abbox = bbox; } </div> @@ -1375,7 +1373,11 @@ <div class="pre"> FT_Vector start; - FT_Matrix transform; + FT_Matrix matrix; + + FT_Glyph image; + FT_Vector pen; + FT_BBox bbox; <span class="comment">/* get bbox of original glyph sequence */</span> @@ -1395,19 +1397,17 @@ matrix.yx = (FT_Fixed)( sin( angle ) * 0x10000L ); matrix.yy = (FT_Fixed)( cos( angle ) * 0x10000L ); + pen = start; + for ( n = 0; n < num_glyphs; n++ ) { - FT_Glyph image; - FT_Vector pen; - FT_BBox bbox; - <span class="comment">/* create a copy of the original glyph */</span> error = FT_Glyph_Copy( glyphs[n].image, &image ); if ( error ) continue; <span class="comment">/* transform copy (this will also translate it to the */</span> <span class="comment">/* correct position */</span> - FT_Glyph_Transform( image, &matrix, &start ); + FT_Glyph_Transform( image, &matrix, &pen ); <span class="comment">/* check bounding box; if the transformed glyph image */</span> <span class="comment">/* is not in our target surface, we can avoid rendering it */</span> @@ -1431,6 +1431,13 @@ bit->left, my_target_height - bit->top ); + <span class="comment">/* increment pen position -- */</span> + <span class="comment">/* we don't have access to a slot structure, */</span> + <span class="comment">/* so we have to use advances from glyph structure */</span> + <span class="comment">/* (which are in 16.16 fixed float format) */</span> + pen.x += image.advance.x >> 10; + pen.y += image.advance.y >> 10; + FT_Done_Glyph( image ); } } @@ -1581,7 +1588,7 @@ <tt>x_scale</tt> </td> <td> - <p>This is a 16.16 fixed float scale that is used to directly + <p>This is a 16.16 fixed-point scale that is used to directly scale horizontal distances from design space to 1/64th of device pixels.</p> </td> @@ -1591,7 +1598,7 @@ <tt>y_scale</tt> </td> <td> - <p>This is a 16.16 fixed float scale that is used to directly + <p>This is a 16.16 fixed-point scale that is used to directly scale vertical distances from design space to 1/64th of device pixels.</p> </td> @@ -1677,7 +1684,7 @@ <a href="step3.html">FreeType 2 Tutorial Step 3</a> </h3> -<p><font size=-3>Last update: 06-May-2012</font></p> +<p><font size=-3>Last update: 10-Apr-2013</font></p> </body> </html> ++++++ freetype-new-cff-engine.patch ++++++ Index: freetype-2.4.12/src/cff/cffobjs.c =================================================================== --- freetype-2.4.12.orig/src/cff/cffobjs.c +++ freetype-2.4.12/src/cff/cffobjs.c @@ -1056,7 +1056,7 @@ /* set default property values */ - driver->hinting_engine = FT_CFF_HINTING_FREETYPE; + driver->hinting_engine = FT_CFF_HINTING_ADOBE; driver->no_stem_darkening = FALSE; return FT_Err_Ok; ++++++ ft2demos-2.4.11.tar.bz2 -> ft2demos-2.4.12.tar.bz2 ++++++ ++++ 7180 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org