OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

fontdetection.h
Go to the documentation of this file.
1 /* $Id: fontdetection.h 25450 2013-06-23 18:32:02Z rubidium $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
9
12 #ifndef FONTDETECTION_H
13 #define FONTDETECTION_H
14
15 #include "fontcache.h"
16
17 #ifdef WITH_FREETYPE
18
19 #include <ft2build.h>
20 #include FT_FREETYPE_H
21
28 FT_Error GetFontByFaceName(const char *font_name, FT_Face *face);
29
40 bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, int winlangid, class MissingGlyphSearcher *callback);
41
42 #endif /* WITH_FREETYPE */
43
44 #endif