Summary: | OTF is a font format | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
Component: | general | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | blurdesign, fonts-bugs, seb128 |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Nicolas Mailhot
2009-03-25 01:50:51 UTC
(for example I count ~ 30 packages including one or many OTF font files in Fedora, and none including ODF OTF files) All the mime-types associated with *.otf have magic data associated, so front-ends should be able to detect which is which by using magic in case of conflict. Adding weight for one or the other would cause more problems than it would solve. So file a bug against the applications that fail to detect the files correctly instead. *** Bug 20603 has been marked as a duplicate of this bug. *** https://bugs.launchpad.net/nautilus/+bug/338682 Over on Launchpad, Seb Bacher is saying this isn't a Nautilus/file-handling bug. Over here, it's not a mime-type bug. It's got to be one or the other. So which is it? Copypasta from one of my comments on the Launchpad bug: This is not a problem with the current Gnome Font Viewer, as is easily proven: 1. Find an OTF font file on your system. 2. If you just double-click on it, OpenOffice attempts to open it, and fails. 2. Right-click the OTF, go Open With -> Open With Other Application -> Font Viewer 3. Font Viewer opens and displays the OTF preview just as it should, exactly like a TTF is shown. So I'm not sure how this bug can be Invalid against all three of the targets currently listed. It's should be valid against at least one, if not all. (The above was all done on Ubuntu 9.04) It is a bug in the file managers. File a bug against them. Bastien, we need to add a glob for *.otf to the font mime type too, since the current agreed-on matching algorithm only looks at magic to disambiguate if there is a glob conflict. I tested locally that adding the glob makes otf fonts show up correctly in nautilus. * freedesktop.org.xml.in: Add *.otf as a glob for OpenType fonts so file managers use magic to check for fonts vs. OO.o documents (Closes: #20854) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.