00001 // 00002 // The Fontaine Font Analysis Project 00003 // 00004 // Copyright (c) 2009 by Edward H. Trager 00005 // All Rights Reserved 00006 // 00007 // Released under the GNU GPL version 2.0 or later. 00008 // 00009 00010 00011 #ifndef FONT_LIBRARY_INCLUDED 00012 #define FONT_LIBRARY_INCLUDED 00013 00014 #include <ft2build.h> 00015 #include FT_FREETYPE_H 00016 00017 class FontLibrary{ 00018 00019 private: 00020 00021 FT_Library _library; 00022 00023 public: 00024 00025 FontLibrary(); 00026 ~FontLibrary(); 00027 00028 FT_Library get(); 00029 00030 }; 00031 00032 #endif