refactored freetype jni interface for better object orientation