20 #ifndef GNASH_FREETYPE_H
21 #define GNASH_FREETYPE_H
25 #include <boost/thread/mutex.hpp>
26 #include <boost/cstdint.hpp>
29 # include <ft2build.h>
30 # include FT_FREETYPE_H
76 static std::auto_ptr<FreetypeGlyphsProvider>
createFace(
77 const std::string& name,
bool bold,
bool italic);
104 std::auto_ptr<SWF::ShapeRecord>
getGlyph(boost::uint16_t
code,
155 bool getFontFilename(
const std::string& name,
bool bold,
bool italic,
156 std::string& filename);
164 static boost::mutex m_lib_mutex;
167 static FT_Library m_lib;
171 #endif // USE_FREETYPE
178 #endif // GNASH_FREETYPE_H