# fontdetection.h

Go to the documentation of this file.

    00001 /* $Id: fontdetection.h 25450 2013-06-23 18:32:02Z rubidium $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * 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.
    00006  * 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.
    00007  * 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/>.
    00008  */
    00009
    00012 #ifndef FONTDETECTION_H
    00013 #define FONTDETECTION_H
    00014
    00015 #include "fontcache.h"
    00016
    00017 #ifdef WITH_FREETYPE
    00018
    00019 #include <ft2build.h>
    00020 #include FT_FREETYPE_H
    00021
    00028 FT_Error GetFontByFaceName(const char *font_name, FT_Face *face);
    00029
    00040 bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, int winlangid, class MissingGlyphSearcher *callback);
    00041
    00042 #endif /* WITH_FREETYPE */
    00043
    00044 #endif