Removed a debug print
This commit is contained in:
parent
fe26a68c85
commit
6cbdd20731
|
@ -349,11 +349,7 @@ public class STBTTFont extends LiFont<STBTTFont.STBTTGlyphAtlas, STBTTFont.STBTT
|
||||||
{
|
{
|
||||||
STBTruetype.stbtt_GetKerningTable(fontInfo, kerningTable);
|
STBTruetype.stbtt_GetKerningTable(fontInfo, kerningTable);
|
||||||
font.kerningTable = new HashMap<>();
|
font.kerningTable = new HashMap<>();
|
||||||
kerningTable.forEach(e -> {
|
kerningTable.forEach(e -> font.kerningTable.put(new KerningPair(e.glyph1(), e.glyph2()), e.advance()));
|
||||||
// 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());
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
font.ascent = ascentBuf.get();
|
font.ascent = ascentBuf.get();
|
||||||
|
|
Loading…
Reference in New Issue