-
Notifications
You must be signed in to change notification settings - Fork 27
/
tt_file.hpp
29 lines (23 loc) · 1.02 KB
/
tt_file.hpp
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
/******************************************************************************
* MODULE : tt_file.hpp
* DESCRIPTION: Finding a True Type font
* COPYRIGHT : (C) 2003 Joris van der Hoeven
*******************************************************************************
* This software falls under the GNU general public license version 3 or later.
* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
******************************************************************************/
#ifndef TT_FILE_H
#define TT_FILE_H
#include "bitmap_font.hpp"
#include "url.hpp"
url tt_font_path ();
array<url> tt_font_paths ();
void tt_extend_font_path (url u);
bool tt_font_exists (string name);
url tt_font_find (string name);
string tt_find_name (string name, int size);
#ifdef USE_FREETYPE
font_glyphs tt_font_glyphs (string family, int size, int hdpi, int vdpi);
#endif // USE_FREETYPE
#endif // TT_FILE_H