package readers.fonts; import java.awt.image.BufferedImage; import java.util.ArrayList; import java.awt.Color; import java.util.List; public class Glyph { final static int TRANSPARENT = new Color(0,0,0,0).getRGB(); int width=0; int height=0; boolean[] data = new boolean[]{}; public static List split(BufferedImage img) { int startX=-1; int endX=-1; List glyphs = new ArrayList<>(); outer: for (int x=0;xendY) { endY=Y; } } } g.height=endY-startY; g.data = new boolean[g.width*g.height]; for (int X=0;X