History log of /external/freetype/src/otvalid/otvgpos.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a0c22569deab933df21127e75db5c81f724f292 02-Jan-2018 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/otvalid/otvgpos.c
6d403d089d438f3a3f9a13c47e2c93528819f265 24-Sep-2017 Werner Lemberg <wl@gnu.org> Fix handling of ValueRecords.

For GPOS pair positioning format 1 the description of ValueRecords
in the OpenType specification (1.8.2, from today) is wrong – the
offset has to be taken from the parent structure; in this case the
`PairSet' table.

* src/otvalid/otvgpos.c (otv_PairSet_validate): Set `extra3'.
(otv_PairPos_validate): Adjust.
/external/freetype/src/otvalid/otvgpos.c
0da0faf0fb14eda88cd0a14e41c6727f32e89ce9 24-Sep-2017 Werner Lemberg <wl@gnu.org> [otvalid] Handle `GSUB' and `GPOS' v1.1 tables.

* src/otvalid/otvgsub.c (otv_GSUB_validate), src/otvalid/otvgpos.c
(otv_GPOS_validate): Implement it.
/external/freetype/src/otvalid/otvgpos.c
563ae780229aef5b6f6ae361211d5fb733de8321 04-Jan-2017 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/otvalid/otvgpos.c
9adeab6452a220270c311f756d55acd734fd52ea 13-Jan-2016 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/otvalid/otvgpos.c
d25ec16672f690dcbd04cdd303f7b5e62c8d959c 25-Feb-2015 Werner Lemberg <wl@gnu.org> [otvalid] Signedness fixes.

* src/otvalid/otvcommn.c, src/otvalid/otvgdef.c,
src/otvalid/otvgpos.c, src/otvalid/otvgsub.c, src/otvalid/otvmath.c:
Apply.
/external/freetype/src/otvalid/otvgpos.c
f57fc59e016217687362b6fbbc4842fab932175c 17-Jan-2015 Werner Lemberg <wl@gnu.org> Run `src/tools/update-copyright'.
/external/freetype/src/otvalid/otvgpos.c
51abdf6ffa8f59810078a2c207d70f705bbcf9b5 08-Dec-2014 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [otvalid] Fix a naming convention conflicting with ftvalid.

Some prototypes in ftvalid.h use `valid' for the variables
typed as FT_Validator. Their implementations in src/base/
ftobjs.c and utilizations in src/sfnt/ttcmap.c do similar.

Some macros in otvcommn.h assume the exist of the variable
`valid' typed as OTV_Validator in the caller.

Mixing these two conventions cause invalid pointer conversion
and unexpected SEGV in longjmp. To prevent it, all variables
typed as OTV_Validator are renamed to `otvalid'.

* src/otvalid/otvcommn.h: Replace `valid' by `otvalid'.
* src/otvalid/{otvcommn.c, otvbase.c, otvgdef.c, otvgpos.c,
otvgsub.c, otvjstf.c, otvmath.c}: Replace `valid' by `otvalid'
if it is typed as OTV_Validator.
/external/freetype/src/otvalid/otvgpos.c
88c95bab744667219bec90c733b2b1b68ecc57de 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> otvalid: Count the table size on memory by ptrdiff_t.
/external/freetype/src/otvalid/otvgpos.c
90c7efc8f233100557514b01f37d50531afbfa46 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> otvalid: Prevent an overflow by GPOS/GSUB 32b-bit offset.
/external/freetype/src/otvalid/otvgpos.c
ca947c2551bc247f8829bbe8d9c4df11387269a2 16-Jun-2008 Werner Lemberg <wl@gnu.org> * src/otvalid/otvgpos.c (otv_MarkBasePos_validate): Set
`valid->extra2' to 1. This is undocumented in the OpenType 1.5
specification.
/external/freetype/src/otvalid/otvgpos.c
3f1905b191b692e94c3e600ab68f5213aea7caa9 11-Aug-2007 Werner Lemberg <wl@gnu.org> * src/otvalid/otvcommn.c, src/otvalid/otvcommn.h
(otv_Coverage_validate): Add fourth argument to pass an expected
count value. Update all users.
Check glyph IDs.
(otv_ClassDef_validate): Check `StartGlyph'.

* src/otvalid/otvgsub.c (otv_SingleSubst_validate): More glyph ID
checks.

* src/otvalid/otvmath.c (otv_MathConstants_validate): There are only
56 constants.
(otv_GlyphAssembly_validate, otv_MathGlyphConstruction_validate):
Check glyph IDs.
/external/freetype/src/otvalid/otvgpos.c
d76fe5a1af5fb9a08b38d4d426688ee9cd34996b 08-Aug-2007 Werner Lemberg <wl@gnu.org> * src/otvalid/otvbase.c, src/otvalid/otvcommn.c,
src/otvalid/otvgdef.c, src/otvalid/otvgpos.c, src/otvalid/otvgsub.c,
src/otvalid/otvjstf.c: s/FT_INVALID_DATA/FT_INVALID_FORMAT/ where
appropriate. Reported by George.

* include/freetype/internal/fttrace.h: Define `trace_otvmath'.

* src/otvalid/rules.mk (OTV_DRV_SRC): Add otvmath.c.

* docs/CHANGES: Updated.


Add `MATH' validating support to otvalid module.

* include/freetype/tttags.h (TTAG_MATH): New macro.
* include/freetype/ftotval.h (FT_VALIDATE_MATH): New macro.
(FT_VALIDATE_OT): Updated.

* src/otvalid/otmath.c: New file.

* src/otvalid/otvalid.c: Include otvmath.c.
* src/otvalid/otvmod.c (otv_validate): Handle `MATH' table.
/external/freetype/src/otvalid/otvgpos.c
be3c9814a4dabb718f89ec8edb2249f8ae4ba9ff 27-Jan-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright years.
/external/freetype/src/otvalid/otvgpos.c
6a681fa84a0ba1164726cedfc3623d84f1e3d60a 27-Jan-2006 David Turner <david@freetype.org> * src/autofit/afwarp.c: simple #ifdef to prevent compilation when
the warp hinter isn't active (it shouldn't, still experimental)

* Jamfile, include/freetype/config/ftmodule.h: removed "gxvalid"
and "otvalid" from the list of modules that are linked statically
to a given FreeType library. Functionality has been moved to the
"ftvalid" CVS module.

note also that current Make-based build system still compiles the
modules though...

* include/freetype/config/ftoption.h: added FT_STRICT_ALIASING,
which controls the definitions of the memory management functions
to avoid warnings with recent versions of GCC. this macro is
only here to be disabled, in case we detect problems with the
new scheme.

NOTE: disable macro to use the memory debugger. this will be fixed
later !!
/external/freetype/src/otvalid/otvgpos.c
8e3fc5ea0c37ff52955aaff6ffe8325ac478bb77 03-Aug-2005 Werner Lemberg <wl@gnu.org> * src/otvalid/otvcommn.h: Remove dead code.

Formatting.
/external/freetype/src/otvalid/otvgpos.c
c56216283418771f42842efa72a334f2fc762e63 30-Jun-2005 David Turner <david@freetype.org> * src/sfnt/ftbitmap.c, src/truetype/ttgload.c, src/sfnt/ttcmap.c:
removing compiler warnings (Visual C++ /W4)

* Jamfile, src/otvalid/{otvcommn.h,otvgdef.c,otvgpos.c,otvgsub.c,
otvjstf.c}: modified the code to use a different pre-processor trick
to implement the OTV_NEST1, OTV_NEST2 and OTV_NEST3 macros. The code
now compiles neatly with Visual C++. The 'otvalid' module has been
put in the Jamfile build again.
/external/freetype/src/otvalid/otvgpos.c
35fd84b96a776f9e2aa1972dc07d650603e2a6d2 08-Mar-2005 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/otvalid/otvgpos.c
fe5c906e9c1f779a1d0b50eeb858b5257080c0a3 06-Mar-2005 David Turner <david@freetype.org> * src/otvalid/{otvgsub.c, otvgpos.c}: making static tables constant
/external/freetype/src/otvalid/otvgpos.c
ee95b6f0d487cb31e90170032ab39d120258052e 10-Sep-2004 Werner Lemberg <wl@gnu.org> Adding OpenType validation module. The code is based on the
(unfinished) `otlayout' module but has been heavily modified to make
it much more compact.

* src/otvalid/*: New module.

* include/freetype/ftotval.h, src/base/ftotval.c,
include/freetype/internal/services/svotval.h: New files.

* include/freetype/config/ftmodule.h: Add otv_module_class.
* include/freetype/config/ftheader.h (FT_OPENTYPE_VALIDATE_H): New
macro.
* include/freetype/internal/ftserv.h
(FT_SERVICE_OPENTYPE_VALIDATE_H): New macro.
* include/freetype/internal/fttrace.h (otvmodule, otvcommon,
otvbase, otvgdef, otvgpos, otvgsub, otvjstf): New trace components.

* include/freetype/ftchapters.h: Updated.

* src/base/Jamfile (Library), src/base/descrip.mms (OBJS),
src/base/rules.mk (BASE_EXT_SRC): Updated.

* docs/CHANGES: Updated.
/external/freetype/src/otvalid/otvgpos.c