Back to index

tetex-bin  3.0
header_routines.h
Go to the documentation of this file.
00001 /* header_routines.h: Headers of font metric files.
00002 
00003 This file is part of Omega,
00004 which is based on the web2c distribution of TeX,
00005 
00006 Copyright (c) 1994--2001 John Plaice and Yannis Haralambous
00007 
00008 Omega is free software; you can redistribute it and/or modify
00009 it under the terms of the GNU General Public License as published by
00010 the Free Software Foundation; either version 2 of the License, or
00011 (at your option) any later version.
00012 
00013 Omega is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with Omega; if not, write to the Free Software Foundation, Inc.,
00020 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
00021 
00022 */
00023 
00024 extern string header;
00025 
00026 extern unsigned check_sum;
00027 extern boolean check_sum_specified;
00028 
00029 extern fix design_size;
00030 extern boolean design_size_specified;
00031 
00032 extern fix design_units;
00033 extern boolean design_units_specified;
00034 
00035 extern string coding_scheme;
00036 extern boolean coding_scheme_specified;
00037 
00038 extern string family;
00039 extern boolean family_specified;
00040 
00041 extern unsigned face;
00042 extern boolean face_specified;
00043 
00044 extern unsigned ofm_level;
00045 extern boolean ofm_level_specified;
00046 
00047 extern unsigned font_dir;
00048 extern boolean font_dir_specified;
00049 
00050 extern boolean seven_bit;
00051 extern boolean seven_bit_specified;
00052 extern boolean seven_bit_calculated;
00053 
00054 extern unsigned font_type;
00055 
00056 extern unsigned header_max;
00057 extern unsigned lh;
00058 
00059 extern void store_header_int(unsigned, unsigned);
00060 extern void store_header_byte(unsigned, unsigned);
00061 extern void retrieve_header_int(unsigned, unsigned *);
00062 extern void retrieve_header_byte(unsigned, unsigned char *);
00063 extern void set_header_word(unsigned, unsigned);
00064 
00065 extern void init_check_sum(void);
00066 extern void set_check_sum(unsigned);
00067 extern void store_check_sum(void);
00068 extern void retrieve_check_sum(void);
00069 extern void calculate_check_sum(void);
00070 
00071 extern void init_design_size(void);
00072 extern void set_design_size(fix);
00073 extern void store_design_size(void);
00074 extern void retrieve_design_size(void);
00075 
00076 extern void init_design_units(void);
00077 extern void set_design_units(fix);
00078 
00079 extern void init_coding_scheme(void);
00080 extern void set_coding_scheme(string );
00081 extern void store_coding_scheme(void);
00082 extern void retrieve_coding_scheme(void);
00083 
00084 extern void init_family(void);
00085 extern void set_family(string );
00086 extern void store_family(void);
00087 extern void retrieve_family(void);
00088 
00089 extern void init_face();
00090 extern void set_face(unsigned);
00091 extern void store_face(void);
00092 extern void retrieve_face(void);
00093 
00094 extern void init_seven_bit_safe_flag();
00095 extern void set_seven_bit_safe_flag(unsigned);
00096 extern void store_seven_bit_safe_flag(void);
00097 extern void retrieve_seven_bit_safe_flag(void);
00098 extern void calculate_seven_bit_safe_flag(void);
00099 
00100 extern void init_header(void);
00101 extern void store_header(void);
00102 extern void retrieve_header(void);
00103 extern void print_header(void);
00104 
00105 extern void output_ofm_header(void);
00106 
00107 extern void set_ofm_level(unsigned);
00108 extern void set_font_dir(unsigned);
00109 extern void output_ofm_header(void);