fix to ttf font loading problem (#44)