Bug 491598

Summary: OTF is a font format
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: shared-mime-infoAssignee: Bastien Nocera <bnocera>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bnocera, fonts-bugs, mclasen, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-25 13:10:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 446451    

Description Nicolas Mailhot 2009-03-23 08:52:37 UTC
The gnome mime database thinks OTF files are some kind of ODF file (as
documented in the ODF spec).

However the OTF extension has long been used for OpenType fonts with CFF data,
and there are many more OTF font files in the wild and even in linux
distributions than OTF ODF files.

Therefore the default should be switched to font file.

Even OO.o uses the OTF moniker for font files
http://www.openoffice.org/issues/show_bug.cgi?id=43029

Comment 1 Matthias Clasen 2009-03-24 04:20:19 UTC
I guess it depends on your perspective if you consider OpenDocument Formula Templates more or less important than otf fonts.

Anyway, the right component for this is shared-mime-info, and you should also report it upstream in bugs.freedesktop.org.

One thing we could do is add the *.otf glob to application/x-font-otf as well, and use the new glob weights to control which one wins by default.

Comment 2 Bastien Nocera 2009-03-25 13:10:19 UTC
The bug is already upstream at:
http://bugs.freedesktop.org/show_bug.cgi?id=20854