Added Font:setFallbacks(otherfont, ...). Resolves issue #1041.

Note that general font metrics are largely still based on the original (non-fallback) font, whereas glyph sizes are based on the fallback fonts when those are used to get the glyph.
This commit is contained in:
Alex Szpakowski
2015-05-02 18:07:35 -03:00
parent 4e1011a52e
commit a35ccb4426
4 changed files with 72 additions and 8 deletions
+1
View File
@@ -44,6 +44,7 @@ int w_Font_getAscent(lua_State *L);
int w_Font_getDescent(lua_State *L);
int w_Font_getBaseline(lua_State *L);
int w_Font_hasGlyphs(lua_State *L);
int w_Font_setFallbacks(lua_State *L);
extern "C" int luaopen_font(lua_State *L);
} // opengl