Mailinglist Archive: opensuse-features (166 mails)

< Previous Next >
[openFATE 313035] Invent Consistent Font Naming Schema/Central Font Repository
Feature changed by: Thomas Schraitle (thomas-schraitle)
Feature #313035, revision 22
- Title: Invent Consistent Font Naming Schema
+ 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.
Ideas
Taken from the opensuse-packaging mailinglist:
* Renamed packages should contain a Provides+Obsoletes keyword in their
SPEC file
* Renamed packages should contain their Ubuntu name in Provides. For
example: Name: roboto-fonts, Provides:ttf-roboto

Relations:
- 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&section=all&arch=any&searchon=names&keywords=ttf)
- Fedora Font Package List (url:
https://admin.fedoraproject.org/pkgdb/acls/list/*-fonts*?_csrf_token=b2721571e462ba9a4dbb87068cad45089ec9dc43)
- Request of a Fonts Repository (novell/bugzilla/id: 734550)
https://bugzilla.novell.com/show_bug.cgi?id=734550

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)

#2: Jan Engelhardt (jengelh) (2011-12-01 00:31:14)
>Currently, our package names for fonts are suboptimal. Well, the
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)
> 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
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.




--
openSUSE Feature:
https://features.opensuse.org/313035

< Previous Next >
List Navigation
This Thread
References