| Index: Source/platform/fonts/SimpleFontData.cpp
|
| diff --git a/Source/platform/fonts/SimpleFontData.cpp b/Source/platform/fonts/SimpleFontData.cpp
|
| index 34b5a2c45616abb8483889f0687f279cf6cad0d1..7851551cc93bd437b5d9bdaa5c70360f32391550 100644
|
| --- a/Source/platform/fonts/SimpleFontData.cpp
|
| +++ b/Source/platform/fonts/SimpleFontData.cpp
|
| @@ -283,7 +283,7 @@ void SimpleFontData::platformGlyphInit()
|
| // Nasty hack to determine if we should round or ceil space widths.
|
| // If the font is monospace or fake monospace we ceil to ensure that
|
| // every character and the space are the same width. Otherwise we round.
|
| - m_spaceGlyph = glyphPageZero->glyphForCharacter(space);
|
| + m_spaceGlyph = glyphPageZero->glyphForCharacter(characterSpace);
|
| float width = widthForGlyph(m_spaceGlyph);
|
| m_spaceWidth = width;
|
| m_zeroGlyph = glyphPageZero->glyphForCharacter('0');
|
|
|