Removed a debug print

This commit is contained in:
Natty 2022-04-19 11:38:17 +02:00
parent fe26a68c85
commit 6cbdd20731
No known key found for this signature in database
GPG Key ID: 40AB22FA416C7019
1 changed files with 1 additions and 5 deletions

View File

@ -349,11 +349,7 @@ public class STBTTFont extends LiFont<STBTTFont.STBTTGlyphAtlas, STBTTFont.STBTT
{
STBTruetype.stbtt_GetKerningTable(fontInfo, kerningTable);
font.kerningTable = new HashMap<>();
kerningTable.forEach(e -> {
// System.out.printf("%s -> %s = %d%n", Character.toString(e.glyph1()), Character.toString(e.glyph2()), e.advance());
font.kerningTable.put(new KerningPair(e.glyph1(), e.glyph2()), e.advance());
});
kerningTable.forEach(e -> font.kerningTable.put(new KerningPair(e.glyph1(), e.glyph2()), e.advance()));
}
font.ascent = ascentBuf.get();