What is this
------------
Freetype bindings for Tcl using Ffidl.
Freetype 2.5 is targeted but another version may works.

Requirements
------------
-Tcl8.5 or 8.6
-TclOO
-Dict
-Ffidl
-Freetype library

How to Startup
-----------------
 package require Freetype

Freetype library is searched automatically. 
But if the library is not found, you must add the library path 
to freetype/init.tcl.
Edit init.tcl to add the path to ft::paths, or do follow 

 package require Freetype::init
 lappend ft::paths /path/to/your/freetype/library
 ft::init
 package require Freetype

Sample
-------
 FT_Init_FreeType lib
 FT_New_Face $lib "fonts/TakaoExMincho.ttf" 0 face
 puts [$face get family_name]
 FT_Done_Face $face
 FT_Done_FreeType $lib
 $face destroy
 $lib destroy

see tests for more details.

Object Memory
-------------
TclOO objects are used as wrapper of Freetype struct. The 
object is only have the address of struct. So even if the
object is destroyed, the struct is not freed.
Don't forget free the memory to call FT_Done_* before 
destroy the object.

