/* -----------------------------------------------------------------------------
	GSFramework
	Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
------------------------------------------------------------------------------*/


#ifndef	__FT2FONTFACTORY__
#define	__FT2FONTFACTORY__


		#include "ft2build.h"
		#include FT_FREETYPE_H
		#include "font/font_factory.h"


namespace GS {
	struct IFont;

/// Font factory.
class	Freetype2FontFactory : public IFontFactory
{
		FT_Library	ft2;

public:

		/// Load a font.
virtual	IFont		*LoadFont(const char *);

		Freetype2FontFactory();
virtual	~Freetype2FontFactory();
};

} // GS


#endif	// __FT2FONTFACTORY__
