Restore Flash font embedding
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
#ifdef LIME_FREETYPE
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#include FT_BITMAP_H
|
||||
#include FT_SFNT_NAMES_H
|
||||
#include FT_TRUETYPE_IDS_H
|
||||
#include FT_GLYPH_H
|
||||
#include FT_OUTLINE_H
|
||||
#endif
|
||||
|
||||
|
||||
@@ -45,10 +50,12 @@ namespace lime {
|
||||
public:
|
||||
|
||||
Font (const char *fontFace);
|
||||
|
||||
value Decompose (int em);
|
||||
void LoadGlyphs (const char *glyphs);
|
||||
void LoadRange (unsigned long start, unsigned long end);
|
||||
void SetSize (size_t size);
|
||||
value RenderToImage (ImageBuffer *image);
|
||||
void SetSize (size_t size);
|
||||
|
||||
#ifdef LIME_FREETYPE
|
||||
FT_Face face;
|
||||
|
||||
Reference in New Issue
Block a user