Add more Font details, fix @:font embedding

This commit is contained in:
Joshua Granick
2015-03-09 04:57:13 -07:00
parent 9804f1970a
commit a406401848
10 changed files with 350 additions and 678 deletions

View File

@@ -34,7 +34,14 @@ namespace lime {
~Font ();
value Decompose (int em);
int GetAscender ();
int GetDescender ();
wchar_t *GetFamilyName ();
int GetHeight ();
int GetNumGlyphs ();
int GetUnderlinePosition ();
int GetUnderlineThickness ();
int GetUnitsPerEM ();
bool InsertCodepointFromIndex (unsigned long codepoint);
void LoadGlyphs (const char *glyphs);
void LoadRange (unsigned long start, unsigned long end);