diff --git a/OpenRA.Game/Graphics/SpriteFont.cs b/OpenRA.Game/Graphics/SpriteFont.cs index 7bcce0b0af..1a01339b2b 100644 --- a/OpenRA.Game/Graphics/SpriteFont.cs +++ b/OpenRA.Game/Graphics/SpriteFont.cs @@ -97,8 +97,7 @@ namespace OpenRA.Graphics GlyphInfo CreateGlyph(Pair c) { - var index = face.GetCharIndex(c.First); - face.LoadGlyph(index, LoadFlags.Default, LoadTarget.Normal); + face.LoadChar(c.First, LoadFlags.Default, LoadTarget.Normal); face.Glyph.RenderGlyph(RenderMode.Normal); var size = new Size((int)face.Glyph.Metrics.Width >> 6, (int)face.Glyph.Metrics.Height >> 6);