Cleaning code a bit. No need to call Font.loadGlyphs since this is done automatically by Text.fromString

This commit is contained in:
Daniel Uranga
2015-01-23 13:41:00 -03:00
committed by MattTuttle
parent 5b2287a374
commit 23f8e01d2a
3 changed files with 1 additions and 8 deletions

View File

@@ -67,8 +67,7 @@ namespace lime {
private:
bool InsertCodepoint (unsigned long codepoint);
bool InsertCodepoint (unsigned long codepoint, bool b);
bool InsertCodepoint (unsigned long codepoint, bool b = true);
std::list<GlyphInfo> glyphList;
size_t mSize;

View File

@@ -528,15 +528,10 @@ namespace lime {
}
bool Font::InsertCodepointFromIndex (unsigned long codepoint) {
return InsertCodepoint(codepoint, false);
}
bool Font::InsertCodepoint (unsigned long codepoint) {
return InsertCodepoint(codepoint, true);
}
bool Font::InsertCodepoint (unsigned long codepoint, bool b) {
GlyphInfo info;