Get the Ascender value from mod.yaml instead from the Font

This commit is contained in:
teinarss
2019-05-27 18:48:12 +02:00
committed by abcdefg30
parent a260b50ce1
commit 9982b01642
12 changed files with 81 additions and 46 deletions

View File

@@ -133,9 +133,7 @@ namespace OpenRA
public interface IFont : IDisposable
{
FontGlyph CreateGlyph(char c);
void SetSize(int size, float deviceScale);
int Height { get; }
FontGlyph CreateGlyph(char c, int size, float deviceScale);
}
public struct FontGlyph