freetype2/include/freetype/internal
Werner Lemberg afaeeee9a0 Fix errors reported by clang's `sanitize' feature.
* include/freetype/internal/ftstream.h: Simplify and fix integer
extraction macros.
(FT_INT8_, FT_BYTE_I16, FT_BYTE_I32, FT_INT8_I16, FT_INT8_I32,
FT_INT8_I32, FT_INT8_U32): Removed.
(FT_PEEK_SHORT, FT_PEEK_LONG, FT_PEEK_OFF3, FT_PEEK_SHORT_LE,
FT_PEEK_LONG_LE, FT_PEEK_OFF3_LE): Use unsigned values for
computations and convert to signed as the last step.

* src/cff/cf2fixed.h (cf2_intToFixed, cf2_fixedToInt,
cf2_fracToFixed): Avoid shifts of negative values.
(cf2_intToFrac, cf2_fixedToFrac, cf2_fixedTo26Dot6): Removed,
unused.

* src/cff/cf2intrp.c (cf2_interpT2CharString) <cf2_cmdEXTENDEDNMBR,
default>: Use unsigned values for computations and convert to signed
as the last step.
Use proper types in tracing messages.

* src/cff/cffgload.c (cff_decoder_parse_charstrings): Use unsigned
values for computation of operands and convert to signed as the last
step.
Use proper type in tracing message.
2013-05-04 14:05:24 +02:00
..
services Use `FT_Module' instead of `FT_Library' argument in property funcs. 2012-09-15 09:10:06 +02:00
autohint.h [autofit] Some macro and variable renamings for orthogonality. 2012-08-27 06:57:05 +02:00
ftcalc.h Remove trailing whitespace. 2013-01-24 13:33:06 +01:00
ftdebug.h Introduce `FT_THROW' macro. 2013-03-13 11:06:39 +01:00
ftdriver.h [FT_CONFIG_OPTION_PIC] Fix g++ 4.6.2 compiler warnings. 2012-08-27 11:23:41 +02: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 [FT_CONFIG_OPTION_PIC] Fix g++ 4.6.2 compiler warnings. 2012-08-27 11:23:41 +02:00
ftpic.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
ftrfork.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
ftserv.h Add framework for CFF properties. 2013-04-12 19:48:06 +02:00
ftstream.h Fix errors reported by clang's `sanitize' feature. 2013-05-04 14:05:24 +02:00
fttrace.h [cff] Add a new Type 2 interpreter and hinter. 2013-04-13 18:53:28 +02: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 [type1] Fix handling of /FontBBox in MM fonts. 2012-12-23 21:14:37 +01:00
pshints.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
sfnt.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
t1types.h Add FT_Get_PS_Font_Value() API. 2011-11-13 16:30:59 +01:00
tttypes.h Formatting, comment improvements. 2013-01-28 13:56:23 +01:00