summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk2/ttflib.h
blob: d61258b13358bbd180e318b3cb37cc012cf21342 (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
/*
 *   ttflib.h
 *
 *   This file is part of the ttf2pk package.
 *
 *   Copyright 1997-1999, 2000 by
 *     Frederic Loyer <loyer@ensta.fr>
 *     Werner Lemberg <wl@gnu.org>
 */

#ifndef TTFLIB_H
#define TTFLIB_H

#include "pklib.h"      /* for the `byte' type */

void TTFopen(char *filename, Font *fnt, int new_dpi, int new_ptsize, 
             Boolean quiet);

Boolean TTFprocess(Font *fnt, long Code, byte **bitmap,
                   int *width, int *height, int *hoff, int *voff,
                   Boolean hinting, Boolean quiet);

encoding *TTFget_first_glyphs(Font *fnt, long *array);
void TTFget_subfont(Font *fnt, long *array);

long TTFsearch_PS_name(const char *name);

#endif /* TTFLIB_H */


/* end */