public XNBSpriteFont(Image image, List<Rectangle> glyphs, List<Rectangle> cropping, List<Character> chars, int spacingV, float spacingH, List<float[]> kerning) {
		this.image = image;
		this.glyphs = glyphs.toArray(new Rectangle[glyphs.size()]);
		this.cropping = cropping.toArray(new Rectangle[cropping.size()]);
		
		this.chars = new char[chars.size()];
		for (int i = 0; i < chars.size(); i++) this.chars[i] = chars.get(i);
		
		this.spacingV = spacingV;
		this.spacingH = spacingH;
		
		this.kerning = kerning.toArray(new float[kerning.size()][3]);
		
		Integer max = null;
		for (Rectangle rect : glyphs) if (max == null || rect.getHeight() > max) max = (int)rect.getHeight();
		maxCharY = max;
	}