Bug 491510
Summary: | [Tracker] rpm font autoprovides are missing some font types | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> | |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | rawhide | CC: | behdad, ffesti, fonts-bugs, jnovy, n3npq, pmatilai, richard | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 491594 491595 491596 491597 (view as bug list) | Environment: | ||
Last Closed: | 2009-03-25 05:49:26 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 491594, 491595, 491596, 491597 | |||
Bug Blocks: | 446451, 491954, 491956, 491957, 491958, 491959, 491961, 491962, 491963, 491964, 491965, 491966, 491968, 491969, 491970, 491971, 491972, 491973, 491974, 491975, 491976 |
Description
Nicolas Mailhot
2009-03-22 12:35:41 UTC
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 The problem with .ttc and .pfa is that neither is seen as font data by libmagic: [pmatilai@localhost cjkuni-ukai-fonts-0.2.20080216.1]$ file ukai.ttc ukai.ttc: data [pmatilai@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. Ok, let's split this Panu, For some reason this still does not work for culmus-fonts pfa files, even though file now correctly identifies them $ file /usr/share/fonts/culmus/MiriamMonoCLM-BookOblique.pfa /usr/share/fonts/culmus/MiriamMonoCLM-BookOblique.pfa: PostScript Type 1 font text rpm used to have a private copy of /usr/share/magic, so it may not be enough to fix file*(1). Same patch to rpm's version of /usr/share/magic is all that is needed. Space in file paths is just ho-hum tedium yes ... Oh I see, " text" happens to be before " [Ff]ont" in the matching order so "foo font text" gets classified as text. PFA isn't the only font type affected by this either. Will fix... ...and fixed in rpm-4.7.0-0.beta1.7.fc11. AFAICS we're all done here... |