Cleaning code a bit. No need to call Font.loadGlyphs since this is done automatically by Text.fromString
This commit is contained in:
committed by
MattTuttle
parent
5b2287a374
commit
23f8e01d2a
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user