diff --git a/stepmania/src/Font.cpp b/stepmania/src/Font.cpp index c42e0671c7..35cb22a4a7 100644 --- a/stepmania/src/Font.cpp +++ b/stepmania/src/Font.cpp @@ -36,6 +36,9 @@ void FontPage::Load( const FontPageSettings &cfg ) // load texture m_sTexturePath.MakeLower(); + RageTextureID ID(m_sTexturePath); + ID.bStretch = true; + m_pTexture = TEXTUREMAN->LoadTexture( m_sTexturePath ); ASSERT( m_pTexture != NULL ); @@ -138,7 +141,7 @@ void FontPage::SetTextureCoords(const vector &widths) iPixelsToChopOff--; g.width++; } - float fTexCoordsToChopOff = float(iPixelsToChopOff) / m_pTexture->GetTextureWidth(); + float fTexCoordsToChopOff = float(iPixelsToChopOff) / m_pTexture->GetSourceWidth(); g.rect.left += fTexCoordsToChopOff/2; g.rect.right -= fTexCoordsToChopOff/2;