Add Font.get_glyph()

This commit is contained in:
Josh Holtrop 2021-01-07 20:04:09 -05:00
parent 07618f8a79
commit 4a0727b535

View File

@ -98,4 +98,9 @@ class Font
{ {
return m_dft_font.baseline_offset; return m_dft_font.baseline_offset;
} }
Glyph get_glyph(uint char_code, int outline_size)
{
return new Glyph(this, char_code, outline_size);
}
} }