<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>194563</bug_id>
          
          <creation_ts>2009-05-29 17:08:05 +0000</creation_ts>
          <short_desc>OTF font file with &quot;otf&quot; extension is recognized as OOo template instead (was: &quot;filedialog filter error for otf fonts&quot;)</short_desc>
          <delta_ts>2010-02-10 16:27:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Slackware</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Grissiom">chaos.proton</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>andresbajotierra</cc>
    
    <cc>chaos.proton</cc>
    
    <cc>christiandehne</cc>
    
    <cc>drankinatty</cc>
    
    <cc>faure</cc>
    
    <cc>oliver.henshaw</cc>
    
    <cc>pgnet.dev+kde</cc>
    
    <cc>post</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>766847</commentid>
    <comment_count>0</comment_count>
    <who name="Grissiom">chaos.proton</who>
    <bug_when>2009-05-29 17:08:05 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.3)
Installed from:    Slackware Packages

In KDE4.2.3, I choose &quot;All supported formats&quot; and explore to the folder that hold my otf fonts, there is nothing on display. I have to manually type the file name to install. So the filter is error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>766862</commentid>
    <comment_count>1</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-05-29 17:36:09 +0000</bug_when>
    <thetext>Do you mean in the font selector module inside SystemSettings? Anyways it should be a filedialog bug
Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>767114</commentid>
    <comment_count>2</comment_count>
    <who name="Grissiom">chaos.proton</who>
    <bug_when>2009-05-30 03:55:05 +0000</bug_when>
    <thetext>Yes, it&apos;s the file select dialog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>776326</commentid>
    <comment_count>3</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-06-16 00:24:43 +0000</bug_when>
    <thetext>Just confirm you are having this problem on the Font Installer module on SystemSettings.. Is that right ?
Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>776369</commentid>
    <comment_count>4</comment_count>
    <who name="Grissiom">chaos.proton</who>
    <bug_when>2009-06-16 01:54:35 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Just confirm you are having this problem on the Font Installer module on
&gt; SystemSettings.. Is that right ?
&gt; Thanks

Yes, you are right. Bug still in KDE4.2.4

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>792759</commentid>
    <comment_count>5</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-07-15 15:55:55 +0000</bug_when>
    <thetext>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 &gt;= 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&apos;t recognized by the Font Installer kcm.

I checked the mimetype discovered by &quot;kmimetypefinder&quot;, and it was &quot;application/vnd.oasis.opendocument.formula-template&quot;

Then I renamed the &quot;foobar.otf&quot; file to &quot;a&quot; and &quot;kmimetypefinder&quot; found the mime properly: &quot;application/x-font-otf&quot; (and that file was indeed shown in the Font Installer kcm AddFontsDialog)

So, this is a Kde Mime bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>792800</commentid>
    <comment_count>6</comment_count>
    <who name="Oliver Henshaw">oliver.henshaw</who>
    <bug_when>2009-07-15 16:49:37 +0000</bug_when>
    <thetext>I see this (with KDE 4.2 on Fedora 11.)  I&apos;ll add that:

$ xdg-mime query filetype blah.otf
application/x-font-otf
$ file blah.otf
blah.otf: OpenType font data</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>792802</commentid>
    <comment_count>7</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-07-15 16:53:32 +0000</bug_when>
    <thetext>@Olivier: what is your output for &quot;kmimetypefinder blah.otf&quot; ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>792807</commentid>
    <comment_count>8</comment_count>
    <who name="Oliver Henshaw">oliver.henshaw</who>
    <bug_when>2009-07-15 17:06:50 +0000</bug_when>
    <thetext>Sorry, I didn&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815750</commentid>
    <comment_count>9</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-08-20 18:55:29 +0000</bug_when>
    <thetext>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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829404</commentid>
    <comment_count>10</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-09-12 17:58:57 +0000</bug_when>
    <thetext>*** Bug 206913 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>910526</commentid>
    <comment_count>11</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-02-02 23:35:07 +0000</bug_when>
    <thetext>*** Bug 225317 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>914209</commentid>
    <comment_count>12</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-02-10 16:27:27 +0000</bug_when>
    <thetext>*** Bug 226061 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>