diff options
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/ligkern_routines.h')
-rw-r--r-- | Build/source/texk/web2c/omegafonts/ligkern_routines.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegafonts/ligkern_routines.h b/Build/source/texk/web2c/omegafonts/ligkern_routines.h new file mode 100644 index 00000000000..66a9be31ca0 --- /dev/null +++ b/Build/source/texk/web2c/omegafonts/ligkern_routines.h @@ -0,0 +1,67 @@ +/* ligkern_routines.h: The ligature/kerning table. + +This file is part of Omega, +which is based on the web2c distribution of TeX, + +Copyright (c) 1994--2001 John Plaice and Yannis Haralambous + +Omega is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +Omega is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with Omega; if not, write to the Free Software Foundation, Inc., +59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +*/ + +extern four_entries lig_kern_table[100000]; + +extern void init_ligkern_entry(void); +extern void set_label_command(unsigned); +extern void set_ligature_command(unsigned, unsigned, unsigned); +extern void set_kerning_command(unsigned, fix); +extern void set_stop_command(void); +extern void set_skip_command(unsigned); +extern int set_new_kern(fix); +extern void print_kerns(void); +extern void build_kern_table(void); +extern void set_boundary_character(unsigned); + +extern void check_ligature_program(unsigned,unsigned); +extern void check_ligature_ends_properly(void); +extern void check_ligature_infinite_loops(void); +extern void doublecheck_ligatures(void); + +extern void print_ligkern_table(void); +extern void init_ligkern(void); + +extern int l_f(hash_list, unsigned, unsigned); +extern int l_eval(unsigned, unsigned); +extern int l_hash_input(unsigned, unsigned); +extern hash_list l_hash_lookup(unsigned, unsigned); + +#define PRIME 1009 + +#define KERN_FLAG 128 +#define STOP_FLAG 128 + + +extern void set_c_label_command(unsigned); +extern void set_c_kerning_command(unsigned, fix); +extern void set_c_glue_command(unsigned, unsigned); +extern void set_c_penalty_command(unsigned, unsigned); +extern void set_c_penglue_command(unsigned, unsigned, unsigned); + +extern unsigned nl; +extern unsigned nk; + +extern void output_ofm_ligkern(void); +extern void retrieve_ligkern_table(unsigned char *, unsigned char *); +extern void print_one_lig_kern_entry(four_entries *, boolean); |