private boolean LoadFont(String fontName)
	{
		try
		{
			Scanner s = new Scanner(new File(fontName));
			
			while (s.hasNext())
			{
				String type = s.next();
				
				if (type.equals("char"))
				{
					if (!LoadCharacter(s.nextLine()))
						throw new Exception("Failed to load character data.");
				}
				else if (type.equals("kerning"))
				{
					if (!LoadKerning(s.nextLine()))
						throw new Exception("Failed to load character data.");
				}
				else
				{
					LoadOther(s.nextLine());
				}
			}
			
			return true;
		}
		catch(Exception e)
		{
			System.out.println("Error loading font while loading BitmapFont");
			e.printStackTrace();
			System.out.println();
			
			return false;
		}
	}