[Bug 477606] New: RFE: warn on fonts installed outside %_fontbasedir

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 22 11:51:17 UTC 2008


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

Summary: RFE: warn on fonts installed outside %_fontbasedir

https://bugzilla.redhat.com/show_bug.cgi?id=477606

           Summary: RFE: warn on fonts installed outside %_fontbasedir
           Product: Fedora
           Version: rawhide
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: rpmlint
        AssignedTo: ville.skytta at iki.fi
        ReportedBy: nicolas.mailhot at laposte.net
         QAContact: extras-qa at fedoraproject.org
                CC: wolfy at nobugconsulting.ro, tmz at pobox.com,
                    ville.skytta at iki.fi, fedora-fonts-bugs-list at redhat.com
    Classification: Fedora


Our current font packaging policy requires the installation of TTF/OTF/PFA/PFB
fonts in a subdirectory of %_fontbasedir
http://fedoraproject.org/wiki/fontpackages

Our general packaging policy demands of packagers to create proper font
packages when their app bundles them
http://fedoraproject.org/wiki/Packaging/Guidelines#Avoid_bundling_of_fonts_in_other_packages

If an app or bit of code is not fontconfig-aware, it can always package
symlinks pointing to fonts packaged according to our guidelines in
%_fontbasedir space, and depend on the font package providing those files.

A recent audit run revealed that the number of packages bundling fonts is very
high. (repoquery found 159 packages shipping fonts in rawhide, the 2/3rds not
being font packages, see bug #477044)

In many case their packagers were not even aware they were bundling fonts (bug
#477406#c4). Some of them are licensing problems (477384#c4)

To prevent such problems in the future, rpmlint should flag any package that
installs ttf/otf/pfa/pfb fonts outside the %_fontbasedir tree, or bundle those
files with binaries in /usr/bin, /usr/lib?? and such.

Packages that include symlinks to files in the %_fontbasedir tree are ok,
though they should also get a warning so upstream adds fontconfig support to
its code (since it has near universal adoption and continuing to ignore
fontconfig will only add to the packager problems in the long run)

http://thread.gmane.org/gmane.comp.freedesktop.xorg/34322/focus=34335

-- 
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