Summary: | OTF font file with "otf" extension is recognized as OOo template instead (was: "filedialog filter error for otf fonts") | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Grissiom <chaos.proton> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | andresbajotierra, chaos.proton, christiandehne, drankinatty, faure, oliver.henshaw, pgnet.dev+kde, post |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Grissiom
2009-05-29 17:08:05 UTC
Do you mean in the font selector module inside SystemSettings? Anyways it should be a filedialog bug Thanks Yes, it's the file select dialog. Just confirm you are having this problem on the Font Installer module on SystemSettings.. Is that right ? Thanks (In reply to comment #3) > Just confirm you are having this problem on the Font Installer module on > SystemSettings.. Is that right ? > Thanks Yes, you are right. Bug still in KDE4.2.4 Thanks Here using: Qt: 4.5.2 (KDE-Qt git commit 46a247a2c9a8c0c4456a02f6a0922d859d88fe76 Date: Fri Jun 26 13:45:37 2009 +0200) KDE: 4.3.60 (KDE 4.3.60 (KDE 4.4 >= 20090706)) kdelibs svn rev. 996016 / kdebase svn rev. 996016 on ArchLinux i686 - Kernel 2.6.30 I can reproduce the bug. I just downloaded a foobar.otf font and it wasn't recognized by the Font Installer kcm. I checked the mimetype discovered by "kmimetypefinder", and it was "application/vnd.oasis.opendocument.formula-template" Then I renamed the "foobar.otf" file to "a" and "kmimetypefinder" found the mime properly: "application/x-font-otf" (and that file was indeed shown in the Font Installer kcm AddFontsDialog) So, this is a Kde Mime bug. I see this (with KDE 4.2 on Fedora 11.) I'll add that: $ xdg-mime query filetype blah.otf application/x-font-otf $ file blah.otf blah.otf: OpenType font data @Olivier: what is your output for "kmimetypefinder blah.otf" ? Sorry, I didn't mention it because it was the same as in comment #5. $ kmimetypefinder blah.otf application/vnd.oasis.opendocument.formula-template (accuracy 100) Packages: kdebase-runtime-4.2.4-2.fc11.i586 xdg-utils-1.0.2-8.20081121cvs.fc11.noarch file-5.03-2.fc11.i586 This was fixed in shared-mime-info on 2009-07-31. https://bugs.freedesktop.org/show_bug.cgi?id=20854 The fix will be released in whatever the next release of shared-mime-info is after 0.60, I guess it will be called 0.70. And I confirm that it works. kmimetypefinder doesnotexist.otf still says openformula, but accuracy 20, and kmimetypefinder real_opentype_font.otf says application/x-font-otf (accuracy 100). *** Bug 206913 has been marked as a duplicate of this bug. *** *** Bug 225317 has been marked as a duplicate of this bug. *** *** Bug 226061 has been marked as a duplicate of this bug. *** |