mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Reduce number of glyphs used for counter text to speed up generation
This commit is contained in:
@@ -706,7 +706,7 @@ public class CardRenderer {
|
|||||||
int pageSize = 128;
|
int pageSize = 128;
|
||||||
|
|
||||||
//only generate images for characters that could be used by Forge
|
//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 PixmapPacker packer = new PixmapPacker(pageSize, pageSize, Pixmap.Format.RGBA8888, 2, false);
|
||||||
final FreeTypeFontParameter parameter = new FreeTypeFontParameter();
|
final FreeTypeFontParameter parameter = new FreeTypeFontParameter();
|
||||||
|
|||||||
Reference in New Issue
Block a user