Gustavo de Oliveira Silva created TIKA-4339:
-----------------------------------------------

             Summary: Wrong mimetype for font
                 Key: TIKA-4339
                 URL: https://issues.apache.org/jira/browse/TIKA-4339
             Project: Tika
          Issue Type: Bug
          Components: mime
            Reporter: Gustavo de Oliveira Silva
         Attachments: suggestion.diff

The current font mimetype are `application/x-font-otf` and 
`application/x-font-ttf`
They are this since 2009. But with RFC8081, IANA added the type `font/*` for 
fonts.
IANA: [https://www.iana.org/assignments/media-types/media-types.xhtml#font]
RFC8081: [https://www.rfc-editor.org/rfc/rfc8081.html]
 

Almost only change `application/x-font-otf` to `font/otf` and 
`application/x-font-ttf` to `font/ttf`.

The attached file is a suggestion



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to