| 1 |
/* |
| 2 |
* ttflib.h |
| 3 |
* |
| 4 |
* This file is part of the ttf2pk package. |
| 5 |
* |
| 6 |
* Copyright 1997-1999, 2000 by |
| 7 |
* Frederic Loyer <[email protected]> |
| 8 |
* Werner Lemberg <[email protected]> |
| 9 |
*/ |
| 10 |
|
| 11 |
#ifndef TTFLIB_H |
| 12 |
#define TTFLIB_H |
| 13 |
|
| 14 |
#include "pklib.h" /* for the `byte' type */ |
| 15 |
|
| 16 |
void TTFopen(char *filename, Font *fnt, int new_dpi, int new_ptsize, |
| 17 |
Boolean quiet); |
| 18 |
|
| 19 |
Boolean TTFprocess(Font *fnt, long Code, byte **bitmap, |
| 20 |
int *width, int *height, int *hoff, int *voff, |
| 21 |
Boolean hinting, Boolean quiet); |
| 22 |
|
| 23 |
encoding *TTFget_first_glyphs(Font *fnt, long *array); |
| 24 |
void TTFget_subfont(Font *fnt, long *array); |
| 25 |
|
| 26 |
long TTFsearch_PS_name(const char *name); |
| 27 |
|
| 28 |
#endif /* TTFLIB_H */ |
| 29 |
|
| 30 |
|
| 31 |
/* end */ |