From b5b02d05ee74b75603b65dd92f293e38f0603cf8 Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Apr 28 2020 14:27:21 +0000 Subject: Fixes hyperlink to FontGuidelines --- diff --git a/guidelines/modules/ROOT/pages/Web_Assets.adoc b/guidelines/modules/ROOT/pages/Web_Assets.adoc index df38786..9cbc421 100644 --- a/guidelines/modules/ROOT/pages/Web_Assets.adoc +++ b/guidelines/modules/ROOT/pages/Web_Assets.adoc @@ -84,6 +84,6 @@ Web Asset packages that consist solely of images, such as a set of icons, may be == Fonts -All system fonts (available in `+%{_datadir}/fonts+`) are automatically made available in `+%{_webassetdir}/fonts/+` via a symlink. For more information on packaging system fonts, see the Packaging:FontsPolicy[font guidelines]. Please note that [Web_Assets/Fonts|only fonts available in the Fedora package collection are made available on HTTP servers by default]. +All system fonts (available in `+%{_datadir}/fonts+`) are automatically made available in `+%{_webassetdir}/fonts/+` via a symlink. For more information on packaging system fonts, see the xref:FontsPolicy.adoc[font guidelines]. Please note that [Web_Assets/Fonts|only fonts available in the Fedora package collection are made available on HTTP servers by default]. Please note that those guidelines prohibit packaging fonts elsewhere. There is no compelling reason to support other font formats, as most browsers that support web fonts support the TTF or OTF formats used by system fonts, therefore alternative web font formats like WOFF are prohibited. diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index 72e2bf0..dbde918 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -915,8 +915,8 @@ In addition to indicating bundling in this manner, packages whose upstreams have === Avoid bundling of fonts in other packages -Fonts in general-purpose formats such as Type1, OpenType TT (TTF) or OpenType CFF (OTF) are subject to specific packaging guidelines (Packaging:FontsPolicy[1]), and should always be packaged in the system-wide font repositories instead of private application directories. -For more information, see: Packaging:FontsPolicy#Package_layout_for_fonts. +Fonts in general-purpose formats such as Type1, OpenType TT (TTF) or OpenType CFF (OTF) are subject to specific packaging guidelines (xref:FontsPolicy.adoc[Packaging/FontsPolicy]), and should always be packaged in the system-wide font repositories instead of private application directories. +For more information, see: xref:FontsPolicy.adoc[Packaging/FontsPolicy]. == Beware of Rpath