private void HandleCommand(String line, BufferedImage image)
	{
		try
		{
			StringTokenizer commands = new StringTokenizer(line);
			
			String command = commands.nextToken();
			
			if (command.equals("common"))
			{
				mLineHeight = Integer.parseInt(commands.nextToken().substring(11));
			}
			else if (command.equals("chars"))
			{
				//int numCharacters = Integer.parseInt(commands.nextToken().substring(6));
				//characters = new BitmapCharacter[numCharacters];
			}
			else if (command.equals("char"))
			{
				int id = Integer.parseInt(commands.nextToken().substring(3));
				
				int x = Integer.parseInt(commands.nextToken().substring(2));
				int y = Integer.parseInt(commands.nextToken().substring(2));
				int width = Integer.parseInt(commands.nextToken().substring(6));
				int height = Integer.parseInt(commands.nextToken().substring(7));
				int xOffset = Integer.parseInt(commands.nextToken().substring(8));
				int yOffset = Integer.parseInt(commands.nextToken().substring(8));
				int xAdvance = Integer.parseInt(commands.nextToken().substring(9));
				
				if (height > mMaxHeight)
				{
					mMaxHeight = height;
				}
				
				if (width <= 0)
				{
					width = 1;
				}
				
				if (height <= 0)
				{
					height = 1;
				}
				
				characters.add(new BitmapCharacter(id, image.getSubimage(x, y, width, height), xOffset, yOffset, xAdvance));
			}
			else if (command.equals("kernings"))
			{
				int numKernings = Integer.parseInt(commands.nextToken().substring(6));
				
				kernings = new Kerning[numKernings];
			}
			else if (command.equals("kerning"))
			{
				kernings[mNumKernings] = new Kerning(
						Integer.parseInt(commands.nextToken().substring(6)),
						Integer.parseInt(commands.nextToken().substring(7)),
						Integer.parseInt(commands.nextToken().substring(7)));
				
				mNumKernings++;
			}
		}
		catch(Exception e)
		{
			System.out.println("Font command failed!");
			System.out.println(line);
			e.printStackTrace();
		}
	}