[Bug 491596] New: libmagic does not recognize pcf.gz files as font files

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 23 08:40:39 UTC 2009

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: libmagic does not recognize pcf.gz files as font files


           Summary: libmagic does not recognize pcf.gz files as font files
           Product: Fedora
           Version: rawhide
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: file
        AssignedTo: dnovotny at redhat.com
        ReportedBy: nicolas.mailhot at laposte.net
         QAContact: extras-qa at fedoraproject.org
                CC: pmatilai at redhat.com, besfahbo at redhat.com,
                    richard at hughsie.com, jnovy at redhat.com,
                    ffesti at redhat.com, fedora-fonts-bugs-list at redhat.com,
                    dnovotny at redhat.com
            Blocks: 446451,491510
    Classification: Fedora
          Clone Of: 491510

libmagic does not recognize pcf.gzfiles as font files

This is necessary for font autoprovides to work with pcf.gz files


+++ This bug was initially created as a clone of Bug #491510 +++

The new font autoprovides are working well for some font formats but are not
processing others:
1. ttc files: http://koji.fedoraproject.org/koji/rpminfo?rpmID=1026593
2. pfa files: http://koji.fedoraproject.org/koji/rpminfo?rpmID=1126190
3. compressed pcf fonts:
(and probably plain pcf fonts though I could not locate a pcf package that was
properly converted yet)

--- Additional comment from nicolas.mailhot at laposte.net on 2009-03-22 08:52:40
EDT ---

Also, it seems to fail even for plain ttf files, when they have a space in
their name: http://koji.fedoraproject.org/koji/rpminfo?rpmID=1055798

--- Additional comment from pmatilai at redhat.com on 2009-03-23 02:28:14 EDT ---

The problem with .ttc and .pfa is that neither is seen as font data by
[pmatilai at localhost cjkuni-ukai-fonts-0.2.20080216.1]$ file ukai.ttc 
ukai.ttc: data
[pmatilai at localhost culmus-0.102]$ file YehudaCLM-Bold.pfa
YehudaCLM-Bold.pfa: PostScript document text

These should be treated filed against "file" (libmagic), rpm will recognize
them as fonts as soon as libmagic does.

Compressed files aren't currently being looked into. I initially enabled it
when enabling the font provide stuff but it blew up at least openoffice.org
build due to leaking file descriptors someplace (probably libmagic but haven't
had a chance to look at it).

Spaces in filenames causing issues is likely to be something entirely
different, lets not pile things up.

--- Additional comment from nicolas.mailhot at laposte.net on 2009-03-23 04:31:25
EDT ---

Ok, let's split this

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list