Feature changed by: Thomas Schraitle (thomas-schraitle) Feature #313035, revision 28 Title: Invent Consistent Font Naming Schema/Central Font Repository openSUSE Distribution: Unconfirmed Priority Requester: Desirable Requested by: Kim Leyendecker (openlhag) Requested by: Thomas Schraitle (thomas-schraitle) Partner organization: openSUSE.org Description: Current State Currently, our package names for fonts are suboptimal. Here are some examples: farsifonts fonts-arabic freefont gnu-unifont indic-fonts intlfonts-ttf xorg-x11-fonts From a usability perspective, it would be better to make a consistent naming schema for font packages. Naming schemas from other distributions: * Ubuntu: prefix with "ttf-" * Fedora: suffix with "-fonts" With the above inconcistency, popular fonts like LinuxLibertine or dejavu cannot be found. Please document any decisions in the Package Guidelines regarding how to name our fonts correctly and consistently. Renaming Rules Some ideas from the opensuse-packaging mailinglist: * New fonts are named according to the Fedora font naming schema. * Until there's a new version out, add this in your SPEC file: Provides: $oldname = %{version} # FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version Obsoletes: $oldname <= %{version} * When there is a new version released, change the SPEC file: Provides: $oldname = %{version} Obsoletes: $oldname < %{version} Relations: - Request of a Fonts Repository (novell/bugzilla/id: 734550) https://bugzilla.novell.com/show_bug.cgi?id=734550 - openSUSE M17N:Fonts Repository (obs/project: http://download.opensuse.org/repositories/M17N:/fonts/) - openSUSE Fonts Policy (url: http://en.opensuse.org/openSUSE:Packaging_Fonts) - Package Guidelines (url: http://en.opensuse.org/openSUSE:Packaging_guidelines) - Fedora: Packaging:FontsPolicy (url: http://fedoraproject.org/wiki/Packaging:FontsPolicy) - Mail Thread on opensuse-packaging ML (url: http://lists.suse.de/opensuse-packaging/2011-11/msg00126.html) - Old Wiki Page for Font Package Layout (url: http://old-en.opensuse.org/Packaging/Fonts_Policy#Package_layout_for_fonts) - Ubuntu Font Package List (url: http://packages.ubuntu.com/search?suite=natty§ion=all&arch=any&a...) - Fedora Font Package List (url: https://admin.fedoraproject.org/pkgdb/acls/list/*-fonts*?_csrf_token=b272157...) Business case (Partner benefit): openSUSE.org: The benefits: * Consistency: easier to find, easier to install * Usability: better to memorize and therefor easier to find * Migration: Users from other distributions find their fonts easier Discussion: #1: Michael Foerster (yamaban) (2011-12-01 00:22:29) A suffix *-font(s) would be a good start. Yes, that would include ALL fonts, but for the details (e.g: vector/woff/ttf/otf/t1/bitmap) there's also the description field. (see "zypper se" or http://software.opensuse.org/search) A prefix ttf- / otf- / t1- could be added or not, even at a later date. Maybe even gatter all fonts in a 'devel' repo, to give them a central home? #6: Thomas Schraitle (thomas-schraitle) (2011-12-03 12:47:51) (reply to #1)
Maybe even gatter all fonts in a 'devel' repo, to give them a central home? See Bug # 734550 (https://bugzilla.novell.com/show_bug.cgi?id=734550)
Currently, our package names for fonts are suboptimal. Well, the
Well, the package name usually follows the upstream project name. [...] Fedora: suffix with "-fonts" unifont-fonts sounds kinda weird and redundant. This is probably the case and leads to this "weird" package name. However, you will find *always* examples were it looks strange. That's
#2: Jan Engelhardt (jengelh) (2011-12-01 00:31:14) package name usually follows the upstream project name. >Ubuntu: prefix with "ttf-" Hah, something only Ubuntu could have come up with. As if everything was ttf. >Fedora: suffix with "-fonts" unifont-fonts sounds kinda weird and redundant. I would argue that is precisely what RPM groups are for. Search in the System/X11/Fonts category and voilà. #3: Thomas Schraitle (thomas-schraitle) (2011-12-01 10:28:57) (reply to #2) the price we need to pay if we want to be consistent. It is at least better than the existing mess. #4: Thomas Schraitle (thomas-schraitle) (2011-12-01 14:00:52) According to Fedora packaging, they use the naming schema [foundryname-]projectname[-fontfamilyname]-fonts in lowercase. #5: Thomas Schraitle (thomas-schraitle) (2011-12-02 17:52:03) Requested new top level directory with the name "Fonts". See bnc#734550. #7: Vincent Untz (vuntz) (2011-12-05 09:31:55) This should be easy to fix for 12.2, so let's just do it :-) #8: Tim Edwards (tk83) (2011-12-05 11:44:42) +1 for the -fonts suffix. There's no easy way to search in RPM package groups anyway - most people search by name whether using Apper, YAST Package Management or zypper so -fonts is perfect. #9: Thomas Schraitle (thomas-schraitle) (2011-12-06 13:16:31) Status update: Darix created M17N:fonts repository for us, Bug # 734550 (https://bugzilla.novell.com/show_bug.cgi?id=734550) is fixed. I'll fill this repository with some content... Work in progress. #10: Takashi Iwai (tiwai) (2011-12-21 18:31:38) A remaining question is how to distinguish packages, e.g. when one provides a bitmap font and another a TTF font with the very same style. An example is baekmum fonts. Currently, baekmum includes bitmap fonts while baekmuk-ttf includes TTF. Also, there are still non-TTF fonts, such as CID-keyed-fonts. Currently, it's called like CID-keyed-fonts-Wada. So, for such cases, we may need a type suffix in addition. Such as, baekmum-bitmap-fonts and bakmum-ttf-fonts. Also, wada-cid-fonts (or wada-cid-keyed-fonts, but I think the suffix is too long). That is, the naming schema will be: [foundryname-]projectname[-fontfamilyname][-fonttype]-fonts where fonttype is either bitmap, ttf, cid, or whatever. + #11: Thomas Schraitle (thomas-schraitle) (2011-12-22 09:17:44) (reply + to #10) + That's a good point, Takashi! Funnily, I've looked at this font some + days ago, but I've skipped it and renamed the unambiguous packages + first. :-) + At the moment, there are over 20 fonts in the M17N:fonts repo + available. Most of them could be easily renamed to "Fedora-style" + names. Some devel projects has been changed too. More will come in the + future. My plan is to rename them write a mail to the packaging + mailinglist next year. + I'll take into account your idea. -- openSUSE Feature: https://features.opensuse.org/313035