This commit is contained in:
Matthias Mailänder
2014-11-01 16:35:42 +01:00
parent c7f5b24593
commit 83ed06e015

View File

@@ -27,7 +27,7 @@ namespace OpenRA.Graphics
this.size = size; this.size = size;
this.name = name; this.name = name;
face = library.NewFace(name, 0); face = new Face(library, name);
face.SetPixelSizes((uint)size, (uint)size); face.SetPixelSizes((uint)size, (uint)size);
glyphs = new Cache<Pair<char, Color>, GlyphInfo>(CreateGlyph, glyphs = new Cache<Pair<char, Color>, GlyphInfo>(CreateGlyph,