summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools/lcdf-typetools-2.103/otftotfm/otftotfm.hh
blob: e509e1577af92c664ce64b948370f9fd7d7cf4bf (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
#ifndef OTFTOTFM_OTFTOTFM_HH
#define OTFTOTFM_OTFTOTFM_HH
#include <lcdf/string.hh>
class Metrics;
class FontInfo;
class StringAccum;
class ErrorHandler;

String suffix_font_name(const String &font_name, const String &suffix);

String installed_metrics_font_name(const String &font_name, const String &secondary);

void output_metrics(Metrics &metrics, const String &ps_name, int boundary_char,
	const FontInfo &finfo,
	const String &encoding_name, const String &encoding_file,
	const String &font_name,
	String (*dvips_include)(const String &ps_name, const FontInfo &, ErrorHandler *),
	ErrorHandler *errh);

double font_cap_height(const FontInfo &, const Transform &);
double font_ascender(const FontInfo &, const Transform &);
double font_slant(const FontInfo &);

#endif