Calculate font size correctly

This commit is contained in:
teinarss
2019-05-02 19:44:15 +02:00
committed by reaperrr
parent 7c71e55b01
commit 2d1c110857
3 changed files with 34 additions and 4 deletions

View File

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