Fixed Arabic text rendering using Harfbuzz. Updated TextRendering sample.

This commit is contained in:
Daniel Uranga
2015-01-23 12:18:52 -03:00
committed by MattTuttle
parent 11008a1214
commit 5b2287a374
4 changed files with 26 additions and 11 deletions

View File

@@ -57,6 +57,7 @@ namespace lime {
void LoadRange (unsigned long start, unsigned long end);
value RenderToImage (ImageBuffer *image);
void SetSize (size_t size);
bool InsertCodepointFromIndex (unsigned long codepoint);
#ifdef LIME_FREETYPE
FT_Face face;
@@ -67,6 +68,7 @@ namespace lime {
private:
bool InsertCodepoint (unsigned long codepoint);
bool InsertCodepoint (unsigned long codepoint, bool b);
std::list<GlyphInfo> glyphList;
size_t mSize;