Debian Codegraph @

texk/ttf2pk2/filesrch.h

raw
1 /*
2 * filesrch.h
3 *
4 * This file is part of the ttf2pk package.
5 *
6 * Copyright 1997-1999, 2000, 2002 by
7 * Frederic Loyer <[email protected]>
8 * Werner Lemberg <[email protected]>
9 */
10
11 #ifndef FILESRCH_H
12 #define FILESRCH_H
13
14 #include "ttf2tfm.h"
15
16 /*
17 * Arguments are the full program name and two identification strings
18 * (for the program and the environment).
19 */
20
21 void TeX_search_init(char *exec_name,
22 const char *program_identifier,
23 const char *env_identifier);
24
25 /*
26 * The next function returns a version string.
27 */
28
29 const char *TeX_search_version(void);
30
31 /*
32 * The following functions take a file name (either relative or absolute),
33 * probably append a default extension, and return the complete path to the
34 * file.
35 */
36
37 char *TeX_search_tfm(char **name);
38 char *TeX_search_encoding_file(char **name);
39 char *TeX_search_replacement_file(char **name);
40 char *TeX_search_sfd_file(char **name);
41 char *TeX_search_map_file(char **name);
42 char *TeX_search_config_file(const char **name);
43 char *TeX_search_ttf_file(char **name);
44
45 void get_tfm_fullname(Font *fnt);
46 void handle_extension(char **stringp,
47 const char *extension);
48
49 #endif /* FILESRCH_H */
50
51
52 /* end */