diff --git a/OpenRA.Game/Graphics/SpriteFont.cs b/OpenRA.Game/Graphics/SpriteFont.cs index 1a01339b2b..e194a17a63 100644 --- a/OpenRA.Game/Graphics/SpriteFont.cs +++ b/OpenRA.Game/Graphics/SpriteFont.cs @@ -27,7 +27,7 @@ namespace OpenRA.Graphics this.size = size; this.name = name; - face = library.NewFace(name, 0); + face = new Face(library, name); face.SetPixelSizes((uint)size, (uint)size); glyphs = new Cache, GlyphInfo>(CreateGlyph,