3 This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
5 Copyright (C) 2002-2012 by Jin-Hwan Cho and Shunsaku Hirata,
6 the dvipdfmx project team.
8 This program 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.
13 This program 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.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
29 USHORT ogid; /* GID in original font */
32 SHORT llx, lly, urx, ury;
43 USHORT dw; /* optimal value for DW */
44 USHORT default_advh; /* default value */
45 SHORT default_tsb; /* default value */
46 struct tt_glyph_desc *gd;
47 unsigned char *used_slot;
50 extern struct tt_glyphs *tt_build_init (void);
51 extern void tt_build_finish (struct tt_glyphs *g);
53 extern USHORT tt_add_glyph (struct tt_glyphs *g, USHORT gid, USHORT new_gid);
54 extern USHORT tt_get_index (struct tt_glyphs *g, USHORT gid);
55 extern USHORT tt_find_glyph (struct tt_glyphs *g, USHORT gid);
57 extern int tt_build_tables (sfnt *sfont, struct tt_glyphs *g);
58 extern int tt_get_metrics (sfnt *sfont, struct tt_glyphs *g);
60 #endif /* _TT_GLYF_H_ */