m (PackagingDrafts/Font package naming (2009-01-13) moved to Archive:PackagingDrafts/Font package naming (2009-01-13): wiki cleanup) |
|||
(No difference)
|
Latest revision as of 02:39, 25 February 2009
Foreword
This proposal is a follow-up and replacement for the naming rules rejected by FPC on 2009-01-06. It is more invasive and will require more changes, but should produce more pleasant font package names.
Renaming of existing packages that fail this new rule will wait for the corresponding policy to be finalised, or for a specific FPC exception.
The change consists of the addition one section to our current font policy that should be referenced in Packaging/NamingGuidelines (alternatively it could be transcluded in both pages).
Naming
Fedora font packages are named [foundryname-]projectname[-fontfamilyname]-fonts, in lowercase.
Clarifications
- 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.
- The foundryname- prefix can optionally be skipped:
- for entities that never released more than one font family, or
- when the font project and the publishing entity are one and the same.
- If projectname or foundryname are repeated in fontfamilyname, they can be dropped from fontfamilyname.
- When foundryname, projectname or fontfamilyname contain the font or fonts affix, this affix should be dropped from them[3].
- -fontfamilyname should not be included in the srpm name of a package that includes several different font families.
- If any element of the naming contains spaces, they should be replaced by “-”.
- 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.
Examples
Source package (src.rpm) | Binary (sub)package | Description | ||
---|---|---|---|---|
Fonts | Other | Fonts | Other | |
apanov-heuristica-fonts | apanov-heuristica-fonts | “Heuristica” font family published by Andrey Panov, “apanov”. | ||
sil-abyssinica-fonts | sil-abyssinica-fonts | “Abyssinica SIL” font family published by the “SIL” foundry. | ||
oflb-brett-fonts | oflb-brett-fonts | “BrettFont” font family published on the “Open Font Library”, “oflb” foundry. | ||
dejavu-fonts |
|
The three “DejaVu” font families self-published by the “DejaVu” project. | ||
dejavu-fonts-common | Utility subpackage with no font files inside. | |||
google-droid-fonts |
|
The three “Droid” font families published by “Google”, as part of its “Droid” release. | ||
google-droid-fonts-common | Utility subpackage with no font files inside. | |||
un-core-fonts |
|
“UN Core” fonts published by the “UN” project. | ||
un-core-fonts-common | Utility subpackage with no font files inside. | |||
openoffice.org | openoffice.org-opensymbol-fonts | The “OpenSymbol” font family published as part of “openoffice.org”. | ||
|
||||
ctan-cm-lgc-fonts |
|
“CM LGC” font families published by the “CTAN” foundry. | ||
ctan-cm-lgc-fonts-common | Utility subpackage with no font files inside. | |||
ctan-cm-lgc-tex |
TEX overlay for ctan-cm-lgc fonts (cooked up example, this page is not a TEX naming guideline) |
Notes: