diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-17 21:41:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-17 21:41:51 +0000 |
commit | 487ca4806cc046076293cf6cc5fbba0db282bac7 (patch) | |
tree | 847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/web2c/omegafonts/header_routines.h | |
parent | a3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff) |
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/header_routines.h')
-rw-r--r-- | Build/source/texk/web2c/omegafonts/header_routines.h | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegafonts/header_routines.h b/Build/source/texk/web2c/omegafonts/header_routines.h new file mode 100644 index 00000000000..44b2483e03a --- /dev/null +++ b/Build/source/texk/web2c/omegafonts/header_routines.h @@ -0,0 +1,109 @@ +/* header_routines.h: Headers of font metric files. + +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 string header; + +extern unsigned check_sum; +extern boolean check_sum_specified; + +extern fix design_size; +extern boolean design_size_specified; + +extern fix design_units; +extern boolean design_units_specified; + +extern string coding_scheme; +extern boolean coding_scheme_specified; + +extern string family; +extern boolean family_specified; + +extern unsigned face; +extern boolean face_specified; + +extern unsigned ofm_level; +extern boolean ofm_level_specified; + +extern unsigned font_dir; +extern boolean font_dir_specified; + +extern boolean seven_bit; +extern boolean seven_bit_specified; +extern boolean seven_bit_calculated; + +extern unsigned font_type; + +extern unsigned header_max; +extern unsigned lh; + +extern void store_header_int(unsigned, unsigned); +extern void store_header_byte(unsigned, unsigned); +extern void retrieve_header_int(unsigned, unsigned *); +extern void retrieve_header_byte(unsigned, unsigned char *); +extern void set_header_word(unsigned, unsigned); + +extern void init_check_sum(void); +extern void set_check_sum(unsigned); +extern void store_check_sum(void); +extern void retrieve_check_sum(void); +extern void calculate_check_sum(void); + +extern void init_design_size(void); +extern void set_design_size(fix); +extern void store_design_size(void); +extern void retrieve_design_size(void); + +extern void init_design_units(void); +extern void set_design_units(fix); + +extern void init_coding_scheme(void); +extern void set_coding_scheme(string ); +extern void store_coding_scheme(void); +extern void retrieve_coding_scheme(void); + +extern void init_family(void); +extern void set_family(string ); +extern void store_family(void); +extern void retrieve_family(void); + +extern void init_face(); +extern void set_face(unsigned); +extern void store_face(void); +extern void retrieve_face(void); + +extern void init_seven_bit_safe_flag(); +extern void set_seven_bit_safe_flag(unsigned); +extern void store_seven_bit_safe_flag(void); +extern void retrieve_seven_bit_safe_flag(void); +extern void calculate_seven_bit_safe_flag(void); + +extern void init_header(void); +extern void store_header(void); +extern void retrieve_header(void); +extern void print_header(void); + +extern void output_ofm_header(void); + +extern void set_ofm_level(unsigned); +extern void set_font_dir(unsigned); +extern void output_ofm_header(void); |