 
 		/** Creates a bitmap font by parsing an XML file and uses the specified texture. 
 		 *  If you don't pass any data, the "mini" font will be created. */
-		public function BitmapFont2D(texture:Texture2D = null, fontXML:XML = null)
+		public function BitmapFont2D(texture:Texture2D = null, fontXml:XML = null)
 		{
 			// if no texture is passed in, we create the minimal, embedded font
-			if (texture == null && fontXML == null)
+			if (texture == null && fontXml == null)
 			{
 				texture = MiniBitmapFont2D.texture;
-				fontXML = MiniBitmapFont2D.xml;
+				fontXml = MiniBitmapFont2D.xml;
 			}
 
 			mName = "unknown";

			mBaseline = parseFloat(fontXml.common.attribute("base")) / scale;

			if (fontXml.info.attribute("smooth").toString() == "0")
				smoothing = TextureSmoothing2D.NONE;

			if (mSize <= 0)
			{
				trace("[Render2D] Warning: invalid font size in '" + mName + "' font.");
				mSize = (mSize == 0.0 ? 16.0 : mSize * -1.0);
			}


		}
	}
}


import tetragon.view.render2d.text.BitmapChar2D;

class CharLocation
