SHA256
1
0
forked from pool/freetype2
freetype2/overflow.patch
Fridrich Strba c3433cdf14 Accepting request 311559 from home:namtrac:bugfix
- Update to version 2.6
  * Thread safety improvements
  * Thai script support has been added to the auto-hinter.
  * Arabic script support has been added to the auto-hinter.
  * Following OpenType version 1.7,  advance widths and side bearing
    values in  CFFs (wrapped  in an SFNT  structure) are  now always
    taken from the `hmtx' table.
  * Following OpenType  version 1.7, the  PostScript font name  of a
    CFF font (wrapped in an SFNT structure) is now always taken from
    the `name'  table.  This is  also true for  OpenType Collections
    (i.e., TTCs using  CFFs subfonts instead of TTFs),  where it may
    have a significant difference.
  * Fonts natively hinted for  ClearType are now supported, properly
    handling selector index 3 of the INSTCTRL bytecode instruction.
  * Major improvements to the GX TrueType variation font handling.

- Update to version 2.6
  * ftgrid can now display GX and MM fonts.
  * Anti-aliasing rendering  modes can now be  selected (with keys
    F5 and F6).
  * The display of point numbers can be toggled with key `D'.
  * ftdump now display information on MM and GX variation axes.
  * ftmulti can now handle up  to six MM  or GX axes.
- Refresh overflow.patch

OBS-URL: https://build.opensuse.org/request/show/311559
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=105
2015-06-11 09:14:56 +00:00

19 lines
742 B
Diff

Index: ft2demos-2.6/src/ttdebug.c
===================================================================
--- ft2demos-2.6.orig/src/ttdebug.c
+++ ft2demos-2.6/src/ttdebug.c
@@ -1910,11 +1910,11 @@
FT_Library_Version( library, &major, &minor, &patch );
- offset = snprintf( version_string, 64,
+ offset = snprintf( version_string, sizeof(version_string),
"ttdebug (FreeType) %d.%d",
major, minor );
if ( patch )
- offset = snprintf( version_string + offset, (size_t)( 64 - offset ),
+ offset = snprintf( version_string + offset, (size_t)( sizeof(version_string) - offset ),
".%d",
patch );
}