text flow handling with freetype