Add Glyph.advance()

This commit is contained in:
Josh Holtrop 2021-01-07 20:04:00 -05:00
parent 80da83058d
commit 07618f8a79

View File

@ -59,6 +59,11 @@ class Font
return m_dft_glyph.top;
}
@property int advance()
{
return m_dft_glyph.advance;
}
@property const(ubyte)[] bitmap()
{
int n_bytes = width * height;