* src/otlayout/gpos.c: Rename counting variables to be more

meaningful.
Add copyright.
(otl_liga_attach_validate): Renamed to...
(otl_liga_mark2_validate): This.
Update all callers.
(otl_mark2_array_validate): Removed.
(otl_gpos_lookup6_validate): Call otl_liga_mark2_validate, not
otl_mark2_array_validate.
(otl_pos_class_set_validate, otl_pos_class_rule_validate): Removed.
(otl_gpos_lookup7_validate): Complete code for format 2.
(otl_chain_pos_class_rule_validate,
otl_chaim_pos_class_set_validate): Removed.
(otl_gpos_lookup8_validate): Don't call
otl_chain_pos_class_set_validate but
otl_chain_pos_rule_set_validate.
Simplify some code.

* src/otlayout/otlgpos.h: Add copyright.
This commit is contained in:
Werner Lemberg 2004-08-15 03:14:02 +00:00
parent 61249b6ef2
commit da096d7a60
3 changed files with 591 additions and 541 deletions

View File

@ -1,3 +1,25 @@
2004-08-15 Werner Lemberg <wl@gnu.org>
* src/otlayout/gpos.c: Rename counting variables to be more
meaningful.
Add copyright.
(otl_liga_attach_validate): Renamed to...
(otl_liga_mark2_validate): This.
Update all callers.
(otl_mark2_array_validate): Removed.
(otl_gpos_lookup6_validate): Call otl_liga_mark2_validate, not
otl_mark2_array_validate.
(otl_pos_class_set_validate, otl_pos_class_rule_validate): Removed.
(otl_gpos_lookup7_validate): Complete code for format 2.
(otl_chain_pos_class_rule_validate,
otl_chaim_pos_class_set_validate): Removed.
(otl_gpos_lookup8_validate): Don't call
otl_chain_pos_class_set_validate but
otl_chain_pos_rule_set_validate.
Simplify some code.
* src/otlayout/otlgpos.h: Add copyright.
2004-08-14 Werner Lemberg <wl@gnu.org>
* src/otlayout/otljstf.c (otl_jstf_gsub_mods_validate): Removed.

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,21 @@
/***************************************************************************/
/* */
/* otlgpos.h */
/* */
/* OpenType layout support, GPOS table (specification). */
/* */
/* Copyright 2002, 2004 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
#ifndef __OTLGPOS_H__
#define __OTLGPOS_H__
@ -5,6 +23,7 @@
OTL_BEGIN_HEADER
OTL_LOCAL( void )
otl_gpos_subtable_validate( OTL_Bytes table,
OTL_Validator valid );
@ -13,6 +32,10 @@ OTL_BEGIN_HEADER
otl_gpos_validate( OTL_Bytes table,
OTL_Validator valid );
OTL_END_HEADER
#endif /* __OTLGPOS_H__ */
/* END */