summaryrefslogtreecommitdiff
path: root/src/otvalid/otvgdef.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2007-08-08 06:38:06 +0000
committerWerner Lemberg <wl@gnu.org>2007-08-08 06:38:06 +0000
commitd76fe5a1af5fb9a08b38d4d426688ee9cd34996b (patch)
treeab6cd360cc179b52276ac11aef5a9867e9bbf050 /src/otvalid/otvgdef.c
parentb66178851a4ea0a2bd15fd548d8f35f140913ca8 (diff)
* 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.
Diffstat (limited to 'src/otvalid/otvgdef.c')
-rw-r--r--src/otvalid/otvgdef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/otvalid/otvgdef.c b/src/otvalid/otvgdef.c
index 7d24902e..e4c32a0f 100644
--- a/src/otvalid/otvgdef.c
+++ b/src/otvalid/otvgdef.c
@@ -4,7 +4,7 @@
/* */
/* OpenType GDEF table validation (body). */
/* */
-/* Copyright 2004, 2005 by */
+/* Copyright 2004, 2005, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -126,7 +126,7 @@
break;
default:
- FT_INVALID_DATA;
+ FT_INVALID_FORMAT;
}
OTV_EXIT;