Disabled clipping in our font. Welcome back the bottom of letter 'g' and other similar stuff that was getting cut off due to over-agressive clipping of letters

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-09-05 00:26:35 +00:00
parent 6ca4d0f642
commit aca58a4ddf

View File

@ -411,7 +411,11 @@ void ScalableFont::draw(const core::stringw& text,
const core::rect<s32>* clip)
{
if (!Driver) return;
// FIXME? simple hack to never clip the text. I don't think we use that anywhere, but we DO have
// bits of letters getting clipped (e.g. the bottom of a "g")
clip = NULL;
if (m_shadow)
{
m_shadow = false; // avoid infinite recursion