From Fedora Project Wiki

(New page: {{CompactHeader|fonts-sig}} == Foreword == This is just documentation of the usual best practices in font package naming. The current naming is implicit in our spec templates ( == The c...)
 
No edit summary
Line 3: Line 3:
== Foreword ==
== Foreword ==


This is just documentation of the usual best practices in font package naming. The current naming is implicit in our spec templates (
This proposal is intended to document font package naming. The current naming has always been implicit in our spec templates([[Simple fonts spec template|1]],[[Fonts spec template for multiple_fonts|2]]), but experience shows some explicit text would help.
 
The only actual novelty is the use of foundry names, that some packagers have added by themselves in the past (and thus the naming of our current packages is not consistent). Since other distributions also use foundry names, it has been decided in list and irc discussions that making every font package use them was cleaner than asking their removal in the packages that used them.
 
Renaming of existing packages that fail this stricter rule will wait for the corresponding [[PackagingDrafts/RenamingPackages|policy]] to be finalised. In the meanwhile getting new package named consistently is a net win.
 
This is one other bit of the list of package [[Fonts_SIG_Fedora_11_packaging_changes_(2008-11-08)|cleanups]] discussed by the [[:Category:Fonts_SIG|Fonts SIG]] for the Fedora 11 release.


== The change ==
== The change ==


It consists of adding one paragraph to our current [[Packaging:FontsPolicy|font policy]].
It consists of the addition one paragraph to our current [[Packaging/FontsPolicy|font policy]] that should be referenced in [[Packaging/NamingGuidelines]].
 
=== Naming ===
 
# Fedora font source packages (''src.rpm'') are named '''foundryname'''-'''fontprojectname'''-'''fonts'''.
# Their eventual non-utility subpackages (''nosrc.rpm'') are named '''foundryname'''-'''fontprojectname'''-'''fonts'''-'''fontfamilyname'''.
# Font package naming uses the lowercase form.
 
FAQ:
* For Fedora purposes a “foundry” is an entity that publishes a set of fonts with consistent font QA rules. Thus a generic hosting service such as [http://www.sf.net Sourceforge] is not a foundry, but the [http://openfontlibrary.org/ Open Font Library] is.
* It is good practice to contract '''foundryname''' in a short prefix.
* When '''foundryname'''-'''fontprojectname''' or '''fontfamilyname''' contain the ''font'' or ''fonts'' affix, it should be skipped to avoid ''foofont-fonts'' packages.
* When '''foundryname''' and '''fontprojectname''' are one and the same, it is not necessary to repeat it.
* The use of the '''fonts''' suffix is not dependant on the actual number of font files in the package.


=== Current wording ===
When in doubt, ask the [[Fonts_SIG_mailing_lists|mailing list]] for clarification.


A
{| border="1"
|+ Font package naming examples
|-
! Package name
! Description
|-
| colspan="2" | Source packages (''src.rpm'')
|-
| apanov-heuristica-fonts-20081109-3.fc11.src.rpm
| “Heuristica” font published by Andrey Panov, “apanov”
|-
| dejavu-fonts-2.27-7.fc11.src.rpm
| “DejaVu” fonts of the “DejaVu” project foundry
|-
| gfs-didot-classic-fonts-20080702-4.fc11.src.rpm
| “Didot Classic” font of the Greek Font Society, “gfs”, foundry
|-
| google-droid-fonts-1.0.112-1.fc11.src.rpm
| “Droid” fonts published by “Google”
|-
| colspan="2" | Binary packages (''noarch.rpm'')
|-
| apanov-heuristica-fonts-20081109-3.fc11.noarch.rpm
| “Heuristica” font published by Andrey Panov
|-
| dejavu-fonts-lgc-sans-mono-2.27-7.fc11.noarch.rpm
| “DejaVu LGC Sans Mono” font of the “DejaVu” project, part of the “DejaVu” release (subpackage)
|-
| gfs-didot-classic-fonts-20080702-4.fc11.noarch.rpm
| “Didot Classic” font of the Greek Font Society
|-
| google-droid-fonts-serif-1.0.112-1.fc11.noarch.rpm
| “Droid Serif” font published by “Google”, part of the “Droid” release (subpackage)
|}


{{:Fonts_SIG_signature}}[[Category:Fonts packaging guideline change proposals|2008-12-22, Naming]]
{{:Fonts_SIG_signature}}[[Category:Fonts packaging guideline change proposals|2008-12-22, Naming]]

Revision as of 10:53, 22 December 2008

A page of the Fonts Special Interest Group

Foreword

This proposal is intended to document font package naming. The current naming has always been implicit in our spec templates(1,2), but experience shows some explicit text would help.

The only actual novelty is the use of foundry names, that some packagers have added by themselves in the past (and thus the naming of our current packages is not consistent). Since other distributions also use foundry names, it has been decided in list and irc discussions that making every font package use them was cleaner than asking their removal in the packages that used them.

Renaming of existing packages that fail this stricter rule will wait for the corresponding policy to be finalised. In the meanwhile getting new package named consistently is a net win.

This is one other bit of the list of package cleanups discussed by the Fonts SIG for the Fedora 11 release.

The change

It consists of the addition one paragraph to our current font policy that should be referenced in Packaging/NamingGuidelines.

Naming

  1. Fedora font source packages (src.rpm) are named foundryname-fontprojectname-fonts.
  2. Their eventual non-utility subpackages (nosrc.rpm) are named foundryname-fontprojectname-fonts-fontfamilyname.
  3. Font package naming uses the lowercase form.

FAQ:

  • For Fedora purposes a “foundry” is an entity that publishes a set of fonts with consistent font QA rules. Thus a generic hosting service such as Sourceforge is not a foundry, but the Open Font Library is.
  • It is good practice to contract foundryname in a short prefix.
  • When foundryname-fontprojectname or fontfamilyname contain the font or fonts affix, it should be skipped to avoid foofont-fonts packages.
  • When foundryname and fontprojectname are one and the same, it is not necessary to repeat it.
  • The use of the fonts suffix is not dependant on the actual number of font files in the package.

When in doubt, ask the mailing list for clarification.

Font package naming examples
Package name Description
Source packages (src.rpm)
apanov-heuristica-fonts-20081109-3.fc11.src.rpm “Heuristica” font published by Andrey Panov, “apanov”
dejavu-fonts-2.27-7.fc11.src.rpm “DejaVu” fonts of the “DejaVu” project foundry
gfs-didot-classic-fonts-20080702-4.fc11.src.rpm “Didot Classic” font of the Greek Font Society, “gfs”, foundry
google-droid-fonts-1.0.112-1.fc11.src.rpm “Droid” fonts published by “Google”
Binary packages (noarch.rpm)
apanov-heuristica-fonts-20081109-3.fc11.noarch.rpm “Heuristica” font published by Andrey Panov
dejavu-fonts-lgc-sans-mono-2.27-7.fc11.noarch.rpm “DejaVu LGC Sans Mono” font of the “DejaVu” project, part of the “DejaVu” release (subpackage)
gfs-didot-classic-fonts-20080702-4.fc11.noarch.rpm “Didot Classic” font of the Greek Font Society
google-droid-fonts-serif-1.0.112-1.fc11.noarch.rpm “Droid Serif” font published by “Google”, part of the “Droid” release (subpackage)


Fonts in Fedora
The Fonts SIG takes loving care of Fedora fonts. Please join this special interest group if you are interested in creating, improving, packaging, or just suggesting a font. Any help will be appreciated.