Ondřej Duchoň created TIKA-3105:
-----------------------------------

             Summary: OFT format detection based on file content
                 Key: TIKA-3105
                 URL: https://issues.apache.org/jira/browse/TIKA-3105
             Project: Tika
          Issue Type: Bug
    Affects Versions: 1.24
            Reporter: Ondřej Duchoň


There is a problem with detecting OTF file format. Unlike TTF format, which is 
detected from the inside of a file (file name can be without extension .ttf) 
format OFT can not. As soon as the extension .otf is removed from a file name, 
detection will fail and content type will be evaluated as 
"application/octet-stream"

 

I found here simple way how to detect OTF files:

[https://docs.microsoft.com/en-us/typography/opentype/spec/otff#organization-of-an-opentype-font]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to