home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / fontutils-0.6-base.tgz / fontutils-0.6-base.tar / fsf / fontutils / fontconvert / output-tfm.h < prev    next >
C/C++ Source or Header  |  1992-05-31  |  1KB  |  46 lines

  1. /* output-tfm.h: declarations for writing a TFM file.
  2.  
  3. Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. #ifndef OUTPUT_TFM_H
  20. #define OUTPUT_TFM_H
  21.  
  22. #include "types.h"
  23. #include "font.h"
  24.  
  25.  
  26. /* See tfm_output.c.  */
  27. extern string tfm_header;
  28. extern string fontdimens;
  29.  
  30.  
  31. /* Called once at the beginning to initialize things.  */
  32. extern void tfm_start_output (string input_name, string output_name,
  33.                               real user_design_size, real default_design_size);
  34.  
  35. /* Called per each input font: the main one first and then each one
  36.    specified with -concat.  */
  37. extern void tfm_start_font (string font_name);
  38.  
  39. /* Called for every character in every font.  */
  40. extern void tfm_output_char (char_info_type, real dpi);
  41.  
  42. /* Called at the very end.  */
  43. extern void tfm_finish_output (void);
  44.  
  45. #endif /* not OUTPUT_TFM_H */
  46.