made demo program actually run

This commit is contained in:
minjaesong
2018-08-11 00:33:52 +09:00
parent 620794dc57
commit 4ce58cf5d1
6 changed files with 10 additions and 5 deletions

View File

@@ -939,6 +939,9 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
// manually add width of one orphan insular letter
// WARNING: glyphs in 0xA770..0xA778 has invalid data, further care is required
glyphProps[0x1D79] = GlyphProps(9, 0)
glyphProps[0xFFFD] = nullProp
}
private val glyphLayout = GlyphLayout()