There is no error with font file because by default WordPress limits the upload file types including ttf/otf/woff file. For resolve this maybe this article can help this error: How to Fix “Sorry, This File Type Is Not Permitted for Security Reasons” Error in WordPress