Fixed memory leak.
Refactored Font class.