| 1 |
/* header_routines.h: Headers of font metric files. |
| 2 |
|
| 3 |
This file is part of Omega, |
| 4 |
which is based on the web2c distribution of TeX, |
| 5 |
|
| 6 |
Copyright (c) 1994--2001 John Plaice and Yannis Haralambous |
| 7 |
|
| 8 |
Omega is free software; you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation; either version 2 of the License, or |
| 11 |
(at your option) any later version. |
| 12 |
|
| 13 |
Omega is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with Omega; if not, write to the Free Software Foundation, Inc., |
| 20 |
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
| 21 |
|
| 22 |
*/ |
| 23 |
|
| 24 |
extern string header; |
| 25 |
|
| 26 |
extern unsigned check_sum; |
| 27 |
extern boolean check_sum_specified; |
| 28 |
|
| 29 |
extern fix design_size; |
| 30 |
extern boolean design_size_specified; |
| 31 |
|
| 32 |
extern fix design_units; |
| 33 |
extern boolean design_units_specified; |
| 34 |
|
| 35 |
extern string coding_scheme; |
| 36 |
extern boolean coding_scheme_specified; |
| 37 |
|
| 38 |
extern string family; |
| 39 |
extern boolean family_specified; |
| 40 |
|
| 41 |
extern unsigned face; |
| 42 |
extern boolean face_specified; |
| 43 |
|
| 44 |
extern unsigned ofm_level; |
| 45 |
extern boolean ofm_level_specified; |
| 46 |
|
| 47 |
extern unsigned font_dir; |
| 48 |
extern boolean font_dir_specified; |
| 49 |
|
| 50 |
extern boolean seven_bit; |
| 51 |
extern boolean seven_bit_specified; |
| 52 |
extern boolean seven_bit_calculated; |
| 53 |
|
| 54 |
extern unsigned font_type; |
| 55 |
|
| 56 |
extern unsigned header_max; |
| 57 |
extern unsigned lh; |
| 58 |
|
| 59 |
extern void set_header_word(unsigned, unsigned); |
| 60 |
|
| 61 |
extern void set_check_sum(unsigned); |
| 62 |
|
| 63 |
extern void set_design_size(fix); |
| 64 |
|
| 65 |
extern void set_design_units(fix); |
| 66 |
|
| 67 |
extern void set_coding_scheme(string ); |
| 68 |
|
| 69 |
extern void set_family(string ); |
| 70 |
|
| 71 |
extern void set_face(unsigned); |
| 72 |
|
| 73 |
extern void set_seven_bit_safe_flag(unsigned); |
| 74 |
extern void calculate_seven_bit_safe_flag(void); |
| 75 |
|
| 76 |
extern void init_header(void); |
| 77 |
extern void retrieve_header(void); |
| 78 |
|
| 79 |
extern void output_ofm_header(void); |
| 80 |
|
| 81 |
extern void set_ofm_level(unsigned); |
| 82 |
extern void set_font_dir(unsigned); |