freetype2/include/freetype/internal
Kan-Ru Chen 21b1a0de7c Fix reading of signed integers from files on 64bit platforms.
Previously, signed integers were converted to unsigned integers, but
this can fail because of sign extension.  For example, 0xa344a1eb
becomes 0xffffffffa344a1eb.

We now do the reverse which is always correct because the integer
size is the same during the cast from unsigned to signed.

* include/freetype/internal/ftstream.h, src/base/ftstream.c
(FT_Stream_Get*): Replace with...
(FT_Stream_GetU*): Functions which read unsigned integers.
Update all macros accordingly.

* src/gzip/ftgzip.c (ft_gzip_get_uncompressed_size): Updated.
2011-04-12 09:26:43 +02:00
..
services XXX_cmap_encoding_char_next() return FT_UInt32 values. 2009-08-01 00:32:09 +09:00
autohint.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
ftcalc.h Code beautification. 2009-06-21 20:17:01 +02:00
ftdebug.h Avoid compiler warnings. 2009-01-12 20:11:14 +00:00
ftdriver.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftgloadr.h Prevent the overflows by a glyph with too many points or contours. 2009-07-08 14:52:11 +09:00
ftmemory.h Fix type-punning issues with C++. 2010-07-12 20:57:54 +02:00
ftobjs.h Add reference counters and to FT_Library and FT_Face objects. 2010-07-18 18:41:47 +02:00
ftpic.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftrfork.h * src/smooth/ftgrays.c (gray_raster_render): Check `outline' 2007-12-30 23:49:14 +00:00
ftserv.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftstream.h Fix reading of signed integers from files on 64bit platforms. 2011-04-12 09:26:43 +02:00
fttrace.h sfnt: Ignore invalid GIDs in glyph name lookup. 2009-08-01 00:32:24 +09:00
ftvalid.h 2006-10-03 Jens Claudius <jens.claudius@yahoo.com> 2006-10-03 08:53:37 +00:00
internal.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
psaux.h psaux: Fix a data type mismatching with its source. 2009-08-01 00:32:19 +09:00
pshints.h Use 16.16 format while parsing Type 1 charstrings. 2009-06-22 16:56:47 +02:00
sfnt.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
t1types.h Fix custom cmap for empty Type 1 font (Savannah bug #27294). 2009-09-01 08:10:24 +02:00
tttypes.h sfnt: Extend TT_BDF->strings_size to FT_ULong for huge BDF. 2009-08-01 00:32:13 +09:00