lua/wrappers/gfx/lua_font.cpp
/**
	 * Sets if the font should be fixed width or variable width.
	 * The width of each character is calculated based on the amount of transparent
	 * pixels on either side of each character.
	 *
	 * @param boolean fixed_width Weather the font is fixed width or not.
	 * @returns am.font This
	 */
Sets if the font should be fixed width or variable width.
The width of each character is calculated based on the amount of transparent
pixels on either side of each character.

@param boolean fixed_width Weather the font is fixed width or not.
Sets if the font should be fixed width or variable width . The width of each character is calculated based on the amount of transparent pixels on either side of each character . @param boolean fixed_width Weather the font is fixed width or not .
int Font_fixed_width(lua_State *lua)
	{
		Font *font = castUData<Font>(lua, 1);
		if (font)
		{
			if (lua_gettop(lua) == 1)
			{
				lua_pushboolean(lua, font->isFixedWidth());
				return 1;
			}
			else if (lua_isbool(lua, 2))
			{
				font->setFixedWidth(lua_tobool(lua, 2));
				lua_first(lua);
			}
			return LuaState::expectedArgs(lua, "fixed_width", "boolean fixed_width");
		}
		return LuaState::expectedContext(lua, "fixed_width", "am.font");
	}
int Font_fixed_width ( lua_State * lua ) { Font * font = castUData < Font > ( lua , 1 ) ; if ( font ) { if ( lua_gettop ( lua ) == 1 ) { lua_pushboolean ( lua , font -> isFixedWidth ( ) ) ; return 1 ; } else if ( lua_isbool ( lua , 2 ) ) { font -> setFixedWidth ( lua_tobool ( lua , 2 ) ) ; lua_first ( lua ) ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Sets if the font should be fixed width or variable width.
Sets if the font should be fixed width or variable width .