Reduce number of glyphs used for counter text to speed up generation

This commit is contained in:
Krazy
2017-06-25 21:25:18 +00:00
parent 05c8091558
commit f2167a0831

View File

@@ -706,7 +706,7 @@ public class CardRenderer {
int pageSize = 128;
//only generate images for characters that could be used by Forge
String chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\"!?'.,;:()[]{}<>|/@\\^$-%+=#_&*\u2014\u2022";
String chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890/-+";
final PixmapPacker packer = new PixmapPacker(pageSize, pageSize, Pixmap.Format.RGBA8888, 2, false);
final FreeTypeFontParameter parameter = new FreeTypeFontParameter();