summaryrefslogtreecommitdiff
path: root/fontconvert/output-tfm.h
blob: 3de2c57f2f57f1c2c33cf47fe5be68847cc3f9d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# output-tfm.h: declarations for writing a TFM file.
#
# 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/>.
#

#ifndef OUTPUT_TFM_H
#define OUTPUT_TFM_H

#include <kpathsea/types.h>
#include "font.h"


/* See tfm_output.c.  */
extern string tfm_header;
extern string fontdimens;


/* Called once at the beginning to initialize things.  */
extern void tfm_start_output (string input_name, const_string output_name,
                              real user_design_size, real default_design_size);

/* Called per each input font: the main one first and then each one
   specified with -concat.  */
extern void tfm_start_font (string font_name);

/* Called for every character in every font.  */
extern void tfm_output_char (char_info_type, real dpi);

/* Called at the very end.  */
extern void tfm_finish_output (void);

#endif /* not OUTPUT_TFM_H */