diff options
Diffstat (limited to 'include/tfm.h')
-rw-r--r-- | include/tfm.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/include/tfm.h b/include/tfm.h index cf4b257..452722b 100644 --- a/include/tfm.h +++ b/include/tfm.h @@ -1,22 +1,23 @@ -/* tfm.h: read and write TeX font metric files. See Metafont: The - Program, by Don Knuth, (Volume D of Computers & Typesetting), chapter 45, - among other places, for the precise definition of this format. - -Copyright (C) 1992, 2011 Free Software Foundation, Inc. - -This program 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 3, or (at your option) -any later version. - -This program 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 this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +# tfm.h: read and write TeX font metric files. +# +# Copyright (C) 1992, 2011 Free Software Foundation, Inc. +# +# This program 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 3 of the License, or +# (at your option) any later version. +# +# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. +# + +# See Metafont: The Program, by Don Knuth, (Volume D of Computers & Typesetting +# , chapter 45, among other places, for the precise definition of this format. #ifndef TFM_FONT_LIBRARY_H #define TFM_FONT_LIBRARY_H @@ -26,7 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "types.h" - /* Only one input file may be open at a time. You therefore do not give a file as a parameter to the routines. */ extern boolean tfm_open_input_file (string filename); @@ -54,7 +54,7 @@ extern void tfm_convert_pl (string tfm_name, boolean verbose); format, so this number should only be changed in the (very unlikely) event that the file format changes. */ #define TFM_SIZE 256 - + /* Fontwide information. All real values are in printer's points: 72.27 points = 1 inch. */ @@ -144,7 +144,7 @@ typedef struct #define TFM_LEADINGDEPTH_PARAMETER 24 #define TFM_FONTSIZE_PARAMETER 25 #define TFM_VERSION_PARAMETER 26 - + /* Return the global info from the current input font. */ extern tfm_global_info_type tfm_get_global_info (void); @@ -205,7 +205,7 @@ extern void tfm_set_fontdimen (tfm_global_info_type *info, unsigned p, real v); /* Set the `fontsize' fontdimen in TFM_INFO to the designsize, if the latter is set. */ extern void tfm_set_fontsize (tfm_global_info_type *tfm_info); - + /* We store the character dimensions we read as both approximate floating point values, in printer's points, and as (unscaled by the design_size) `fix_word' values. On output, we look only at the @@ -264,7 +264,7 @@ extern void tfm_put_chars (tfm_char_type *); /* Output the single TFM character C. */ extern void tfm_put_char (tfm_char_type c); - + /* When typesetting, the current character + `character' leads to `ligature'. The TFM format was extended in 1990 to allow for more complicated ligatures than this, but we do not make those |