freetype2/include/freetype
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
..
config Add AF_CONFIG_OPTION_USE_WARPER to control the autofit warper. 2011-03-02 03:52:36 +01:00
internal Fix reading of signed integers from files on 64bit platforms. 2011-04-12 09:26:43 +02:00
freetype.h * Version 2.4.4 released. 2010-11-28 16:07:49 +01:00
ftadvanc.h load_flags of FT_Get_Advance(), FT_Get_Advances() and backends are declared as FT_Int32 to match the flags of FT_Load_Glyph() 2009-01-09 11:11:53 +00:00
ftbbox.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftbdf.h * include/freetype/ftbdf.h (FT_Get_BDF_Property): Improve documentation. 2009-01-11 11:45:54 +00:00
ftbitmap.h * include/freetype/ftsynth.h, src/basae/ftsynth.c: Move 2008-12-17 10:50:31 +00:00
ftbzip2.h Improve bzip2 support. 2010-12-31 17:47:09 +01:00
ftcache.h [cache] Hide internal macros incompatible with LLP64. 2010-10-25 01:12:09 +09:00
ftchapters.h Improve bzip2 support. 2010-12-31 17:47:09 +01:00
ftcid.h Typo. 2009-03-11 21:39:10 +00:00
fterrdef.h Whitespace. 2011-03-08 05:01:21 +01:00
fterrors.h Typo. From Han-Wen. 2007-01-23 06:29:23 +00:00
ftgasp.h Improve `gasp' table documentation. 2011-01-05 22:21:33 +01:00
ftglyph.h Documentation typo. 2009-10-18 09:47:52 +02:00
ftgxval.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftgzip.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftimage.h In the documentation, explain what `padding' means. 2010-08-21 09:01:51 +02:00
ftincrem.h Doc fix. 2010-02-13 07:53:37 +01:00
ftlcdfil.h Add reference counters and to FT_Library and FT_Face objects. 2010-07-18 18:41:47 +02:00
ftlist.h Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftlzw.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftmac.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftmm.h Documentation fixes. 2009-01-19 08:35:45 +00:00
ftmodapi.h Add reference counters and to FT_Library and FT_Face objects. 2010-07-18 18:41:47 +02:00
ftmoderr.h Improve bzip2 support. 2010-12-31 17:47:09 +01:00
ftotval.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftoutln.h Minor documentation fix. 2010-01-03 14:09:03 +01:00
ftpfr.h Documentation fixes. 2009-01-19 08:47:43 +00:00
ftrender.h Fix parameter handling of `FT_Set_Renderer'. 2010-12-13 20:17:26 +01:00
ftsizes.h Documentation fixes. 2009-01-19 08:35:45 +00:00
ftsnames.h Minor doc fixes. 2010-02-13 07:53:37 +01:00
ftstroke.h Typo. 2009-07-17 10:50:04 +02:00
ftsynth.h * include/freetype/ftsynth.h, src/basae/ftsynth.c: Move 2008-12-17 10:50:31 +00:00
ftsystem.h Add some memory checks (mainly for debugging). 2010-06-26 09:24:08 +02:00
fttrigon.h More typo fixes from Alexei. 2007-01-30 23:08:50 +00:00
fttypes.h fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly. 2009-08-01 00:30:18 +09:00
ftwinfnt.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftxf86.h Document that FT_Get_X11_Font_Format() is a general call. 2009-08-28 09:08:00 +02:00
t1tables.h Remove ABI-breaking field in public PS_InfoFontRec definition. 2009-03-03 13:28:59 +00:00
ttnameid.h Unicode != ISO in the earliest TTF terminology. 2010-07-09 22:14:35 +09:00
tttables.h Make FT_Sfnt_Table_Info return the number of SFNT tables. 2011-03-09 06:18:28 +01:00
tttags.h formatting 2008-10-05 06:08:40 +00:00
ttunpat.h * src/tools/docmaker/sources.py (re_source_keywords): Add word 2006-05-12 08:00:13 +00:00