20 #ifndef GNASH_FREETYPE_H 21 #define GNASH_FREETYPE_H 29 # include <ft2build.h> 30 # include FT_FREETYPE_H 76 static std::unique_ptr<FreetypeGlyphsProvider> createFace(
77 const std::string&
name,
bool bold,
bool italic);
104 std::unique_ptr<SWF::ShapeRecord> getGlyph(std::uint16_t
code,
108 float ascent()
const;
111 float descent()
const;
118 unsigned short unitsPerEM()
const;
155 bool getFontFilename(
const std::string& name,
bool bold,
bool italic,
156 std::string& filename);
164 static std::mutex m_lib_mutex;
167 static FT_Library m_lib;
171 #endif // USE_FREETYPE 178 #endif // GNASH_FREETYPE_H Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
code
Definition: GnashKey.h:43
Truetype font rasterizer/converter based on freetype library.
Definition: FreetypeGlyphsProvider.h:56
std::string name
Definition: LocalConnection_as.cpp:149
Definition: GnashKey.h:331