new font files, fixed some font issues

This commit is contained in:
Eduardo Bart
2011-11-01 00:35:50 -02:00
parent 841769cc7d
commit 999fa731c0
40 changed files with 279 additions and 1067 deletions

View File

@@ -79,6 +79,7 @@ FontPtr FontManager::getFont(const std::string& fontName)
}
// when not found, fallback to default font
logError("font '", fontName, "' not found");
return getDefaultFont();
}

View File

@@ -45,6 +45,7 @@ void UILineEdit::render()
int textLength = m_text.length();
const TexturePtr& texture = m_font->getTexture();
g_graphics.bindColor(m_foregroundColor);
for(int i=0;i<textLength;++i)
g_graphics.drawTexturedRect(m_glyphsCoords[i], texture, m_glyphsTexCoords[i]);

View File

@@ -41,7 +41,7 @@ Creature::Creature() : Thing()
m_walkOffsetY = 0;
m_lastWalkAnim = 1;
m_informationFont = g_fonts.getFont("tibia-12px-rounded");
m_informationFont = g_fonts.getFont("verdana-11px-rounded");
}
void Creature::draw(int x, int y)