Blame SOURCES/urw-base35-fonts-20170801-003-merge-Nimbus-Sans-Narrow.patch

88636e
From 965bea8798ffe76885e4ea4556155a6df5e7fc4d Mon Sep 17 00:00:00 2001
88636e
From: "David Kaspar [Dee'Kej]" <dkaspar@redhat.com>
88636e
Date: Tue, 9 Jan 2018 13:51:09 +0100
88636e
Subject: [PATCH] appstream/fontconfig: Nimbus Sans Narrow merged into Nimbus
88636e
 Sans
88636e
88636e
  "As mentioned by Microsoft in its WPF font model whitepaper, the CSS
88636e
  model and apps only know to manage weight, width or slant qualifiers.
88636e
  So anything which is a weight, width or slant qualifier is a font face
88636e
  name, and anything else is a different font family." - Nicolas Mailhot
88636e
88636e
  More info: https://goo.gl/n2unfn
88636e
88636e
  By this definition, the Nimbus Sans and Nimbus Sans Narrow are the
88636e
  same font typefaces, so the AppStream and fontconfig files for Nimbus
88636e
  Sans Narrow were merged into corresponding Nimbus Sans files.
88636e
---
88636e
 appstream/de.urwpp.NimbusSans.metainfo.xml       |   5 +
88636e
 appstream/de.urwpp.NimbusSansNarrow.metainfo.xml | 190 -----------------------
88636e
 fontconfig/urw-nimbus-sans-narrow.conf           |  42 -----
88636e
 fontconfig/urw-nimbus-sans.conf                  |  35 +++++
88636e
 4 files changed, 40 insertions(+), 232 deletions(-)
88636e
 delete mode 100644 appstream/de.urwpp.NimbusSansNarrow.metainfo.xml
88636e
 delete mode 100644 fontconfig/urw-nimbus-sans-narrow.conf
88636e
88636e
diff --git a/appstream/de.urwpp.NimbusSans.metainfo.xml b/appstream/de.urwpp.NimbusSans.metainfo.xml
88636e
index 28d9c96..be65054 100644
88636e
--- a/appstream/de.urwpp.NimbusSans.metainfo.xml
88636e
+++ b/appstream/de.urwpp.NimbusSans.metainfo.xml
88636e
@@ -29,6 +29,11 @@
88636e
     <font>Nimbus Sans Italic</font>
88636e
     <font>Nimbus Sans Bold</font>
88636e
     <font>Nimbus Sans Bold Italic</font>
88636e
+
88636e
+    <font>Nimbus Sans Narrow Regular</font>
88636e
+    <font>Nimbus Sans Narrow Oblique</font>
88636e
+    <font>Nimbus Sans Narrow Bold</font>
88636e
+    <font>Nimbus Sans Narrow Bold Oblique</font>
88636e
   </provides>
88636e
 
88636e
   <suggests>
88636e
diff --git a/appstream/de.urwpp.NimbusSansNarrow.metainfo.xml b/appstream/de.urwpp.NimbusSansNarrow.metainfo.xml
88636e
deleted file mode 100644
88636e
index 3db3163..0000000
88636e
--- a/appstream/de.urwpp.NimbusSansNarrow.metainfo.xml
88636e
+++ /dev/null
88636e
@@ -1,190 +0,0 @@
88636e
-
88636e
-<component type="font">
88636e
-  <id>de.urwpp.NimbusSansNarrow</id>
88636e
-  <developer_name>URW++ Design and Development GmbH</developer_name>
88636e
-
88636e
-  <metadata_license>CC-BY-4.0</metadata_license>
88636e
-  <project_license>AGPL-3.0</project_license>
88636e
-
88636e
-  <url type="homepage">https://www.urwpp.de/en/</url>
88636e
-  <url type="bugtracker">https://bugs.ghostscript.com/</url>
88636e
-
88636e
-  <update_contact>dkaspar@redhat.com</update_contact>
88636e
-
88636e
-  <name>Nimbus Sans Narrow</name>
88636e
-  <summary>An alternative font family for Helvetica Condensed typeface</summary>
88636e
-  <description>
88636e
-    

88636e
-      This sans-serif font family is an alternative for the Helvetica Condensed
88636e
-      typeface, and is part of Level 2 Core Font Set - PostScript specification
88636e
-      of 35 base fonts that can be used with any PostScript file.
88636e
-    

88636e
-    

88636e
-      These 35 base fonts are provided freely by (URW++) company,
88636e
-      and are mainly utilized by Ghostscript, or other applications using it.
88636e
-  </description>
88636e
-
88636e
-  <provides>
88636e
-    <font>Nimbus Sans Narrow Regular</font>
88636e
-    <font>Nimbus Sans Narrow Oblique</font>
88636e
-    <font>Nimbus Sans Narrow Bold</font>
88636e
-    <font>Nimbus Sans Narrow Bold Oblique</font>
88636e
-  </provides>
88636e
-
88636e
-  <suggests>
88636e
-    <id>de.urwpp.URWCoreFontSetLevel2</id>
88636e
-    <id>de.urwpp.C059</id>
88636e
-    <id>de.urwpp.D050000L</id>
88636e
-    <id>de.urwpp.NimbusMonoPS</id>
88636e
-    <id>de.urwpp.NimbusRoman</id>
88636e
-    <id>de.urwpp.NimbusSans</id>
88636e
-    <id>de.urwpp.P052</id>
88636e
-    <id>de.urwpp.StandardSymbolsPS</id>
88636e
-    <id>de.urwpp.URWBookman</id>
88636e
-    <id>de.urwpp.URWGothic</id>
88636e
-    <id>de.urwpp.Z003</id>
88636e
-  </suggests>
88636e
-
88636e
-  
88636e
-  <releases>
88636e
-    <release version="20170801" date="2017-08-01" />
88636e
-    <release version="20160926" date="2016-09-26" />
88636e
-  </releases>
88636e
-
88636e
-  <languages>
88636e
-    <lang>aa</lang>
88636e
-    <lang>af</lang>
88636e
-    <lang>an</lang>
88636e
-    <lang>av</lang>
88636e
-    <lang>ay</lang>
88636e
-    <lang>ba</lang>
88636e
-    <lang>be</lang>
88636e
-    <lang>bg</lang>
88636e
-    <lang>bi</lang>
88636e
-    <lang>br</lang>
88636e
-    <lang>bs</lang>
88636e
-    <lang>bua</lang>
88636e
-    <lang>ca</lang>
88636e
-    <lang>ce</lang>
88636e
-    <lang>ch</lang>
88636e
-    <lang>co</lang>
88636e
-    <lang>crh</lang>
88636e
-    <lang>cs</lang>
88636e
-    <lang>csb</lang>
88636e
-    <lang>cy</lang>
88636e
-    <lang>da</lang>
88636e
-    <lang>de</lang>
88636e
-    <lang>el</lang>
88636e
-    <lang>en</lang>
88636e
-    <lang>eo</lang>
88636e
-    <lang>es</lang>
88636e
-    <lang>et</lang>
88636e
-    <lang>eu</lang>
88636e
-    <lang>fi</lang>
88636e
-    <lang>fil</lang>
88636e
-    <lang>fj</lang>
88636e
-    <lang>fo</lang>
88636e
-    <lang>fr</lang>
88636e
-    <lang>fur</lang>
88636e
-    <lang>fy</lang>
88636e
-    <lang>gd</lang>
88636e
-    <lang>gl</lang>
88636e
-    <lang>gv</lang>
88636e
-    <lang>ho</lang>
88636e
-    <lang>hr</lang>
88636e
-    <lang>hsb</lang>
88636e
-    <lang>ht</lang>
88636e
-    <lang>hu</lang>
88636e
-    <lang>ia</lang>
88636e
-    <lang>id</lang>
88636e
-    <lang>ie</lang>
88636e
-    <lang>ik</lang>
88636e
-    <lang>io</lang>
88636e
-    <lang>is</lang>
88636e
-    <lang>it</lang>
88636e
-    <lang>jv</lang>
88636e
-    <lang>kaa</lang>
88636e
-    <lang>ki</lang>
88636e
-    <lang>kj</lang>
88636e
-    <lang>kk</lang>
88636e
-    <lang>kl</lang>
88636e
-    <lang>ku-tr</lang>
88636e
-    <lang>kum</lang>
88636e
-    <lang>kwm</lang>
88636e
-    <lang>ky</lang>
88636e
-    <lang>la</lang>
88636e
-    <lang>lb</lang>
88636e
-    <lang>lez</lang>
88636e
-    <lang>lg</lang>
88636e
-    <lang>li</lang>
88636e
-    <lang>lt</lang>
88636e
-    <lang>lv</lang>
88636e
-    <lang>mg</lang>
88636e
-    <lang>mh</lang>
88636e
-    <lang>mk</lang>
88636e
-    <lang>mn-mn</lang>
88636e
-    <lang>mo</lang>
88636e
-    <lang>ms</lang>
88636e
-    <lang>mt</lang>
88636e
-    <lang>na</lang>
88636e
-    <lang>nb</lang>
88636e
-    <lang>nds</lang>
88636e
-    <lang>ng</lang>
88636e
-    <lang>nl</lang>
88636e
-    <lang>nn</lang>
88636e
-    <lang>no</lang>
88636e
-    <lang>nr</lang>
88636e
-    <lang>nso</lang>
88636e
-    <lang>ny</lang>
88636e
-    <lang>oc</lang>
88636e
-    <lang>om</lang>
88636e
-    <lang>os</lang>
88636e
-    <lang>pap-an</lang>
88636e
-    <lang>pap-aw</lang>
88636e
-    <lang>pl</lang>
88636e
-    <lang>pt</lang>
88636e
-    <lang>rm</lang>
88636e
-    <lang>rn</lang>
88636e
-    <lang>ro</lang>
88636e
-    <lang>ru</lang>
88636e
-    <lang>rw</lang>
88636e
-    <lang>sc</lang>
88636e
-    <lang>se</lang>
88636e
-    <lang>sel</lang>
88636e
-    <lang>sg</lang>
88636e
-    <lang>sh</lang>
88636e
-    <lang>sk</lang>
88636e
-    <lang>sl</lang>
88636e
-    <lang>sma</lang>
88636e
-    <lang>smj</lang>
88636e
-    <lang>smn</lang>
88636e
-    <lang>sn</lang>
88636e
-    <lang>so</lang>
88636e
-    <lang>sq</lang>
88636e
-    <lang>sr</lang>
88636e
-    <lang>ss</lang>
88636e
-    <lang>st</lang>
88636e
-    <lang>su</lang>
88636e
-    <lang>sv</lang>
88636e
-    <lang>sw</lang>
88636e
-    <lang>tg</lang>
88636e
-    <lang>tk</lang>
88636e
-    <lang>tl</lang>
88636e
-    <lang>tn</lang>
88636e
-    <lang>tr</lang>
88636e
-    <lang>ts</lang>
88636e
-    <lang>tt</lang>
88636e
-    <lang>tyv</lang>
88636e
-    <lang>uk</lang>
88636e
-    <lang>uz</lang>
88636e
-    <lang>vo</lang>
88636e
-    <lang>vot</lang>
88636e
-    <lang>wa</lang>
88636e
-    <lang>wen</lang>
88636e
-    <lang>wo</lang>
88636e
-    <lang>xh</lang>
88636e
-    <lang>yap</lang>
88636e
-    <lang>za</lang>
88636e
-    <lang>zu</lang>
88636e
-  </languages>
88636e
-</component>
88636e
diff --git a/fontconfig/urw-nimbus-sans-narrow.conf b/fontconfig/urw-nimbus-sans-narrow.conf
88636e
deleted file mode 100644
88636e
index 16ef7ac..0000000
88636e
--- a/fontconfig/urw-nimbus-sans-narrow.conf
88636e
+++ /dev/null
88636e
@@ -1,42 +0,0 @@
88636e
-
88636e
-
88636e
-<fontconfig>
88636e
-  
88636e
-  <alias>
88636e
-    <family>sans-serif</family>
88636e
-    <prefer>
88636e
-      <family>Nimbus Sans Narrow</family>
88636e
-    </prefer>
88636e
-  </alias>
88636e
-
88636e
-  
88636e
-  <alias>
88636e
-    <family>Nimbus Sans Narrow</family>
88636e
-    <default>
88636e
-      <family>sans-serif</family>
88636e
-    </default>
88636e
-  </alias>
88636e
-
88636e
-  
88636e
-  <alias binding="same">
88636e
-    <family>Nimbus Sans Narrow</family>
88636e
-    <default>
88636e
-      <family>Helvetica Narrow</family>
88636e
-    </default>
88636e
-  </alias>
88636e
-
88636e
-  
88636e
-  <alias binding="same">
88636e
-    <family>Helvetica Narrow</family>
88636e
-    <accept>
88636e
-      <family>Nimbus Sans Narrow</family>
88636e
-    </accept>
88636e
-  </alias>
88636e
-
88636e
-  <alias binding="same">
88636e
-    <family>TeX Gyre Heroes Cn</family>
88636e
-    <accept>
88636e
-      <family>Nimbus Sans Narrow</family>
88636e
-    </accept>
88636e
-  </alias>
88636e
-</fontconfig>
88636e
diff --git a/fontconfig/urw-nimbus-sans.conf b/fontconfig/urw-nimbus-sans.conf
88636e
index 782e5e0..0d78408 100644
88636e
--- a/fontconfig/urw-nimbus-sans.conf
88636e
+++ b/fontconfig/urw-nimbus-sans.conf
88636e
@@ -9,6 +9,13 @@
88636e
     </prefer>
88636e
   </alias>
88636e
 
88636e
+  <alias>
88636e
+    <family>sans-serif</family>
88636e
+    <prefer>
88636e
+      <family>Nimbus Sans Narrow</family>
88636e
+    </prefer>
88636e
+  </alias>
88636e
+
88636e
   
88636e
   <alias>
88636e
     <family>Nimbus Sans</family>
88636e
@@ -17,6 +24,13 @@
88636e
     </default>
88636e
   </alias>
88636e
 
88636e
+  <alias>
88636e
+    <family>Nimbus Sans Narrow</family>
88636e
+    <default>
88636e
+      <family>sans-serif</family>
88636e
+    </default>
88636e
+  </alias>
88636e
+
88636e
   
88636e
   <alias binding="same">
88636e
     <family>Nimbus Sans</family>
88636e
@@ -25,6 +39,13 @@
88636e
     </default>
88636e
   </alias>
88636e
 
88636e
+  <alias binding="same">
88636e
+    <family>Nimbus Sans Narrow</family>
88636e
+    <default>
88636e
+      <family>Helvetica Narrow</family>
88636e
+    </default>
88636e
+  </alias>
88636e
+
88636e
   
88636e
   <alias binding="same">
88636e
     <family>Helvetica</family>
88636e
@@ -34,9 +55,23 @@
88636e
   </alias>
88636e
 
88636e
   <alias binding="same">
88636e
+    <family>Helvetica Narrow</family>
88636e
+    <accept>
88636e
+      <family>Nimbus Sans Narrow</family>
88636e
+    </accept>
88636e
+  </alias>
88636e
+
88636e
+  <alias binding="same">
88636e
     <family>TeX Gyre Heroes</family>
88636e
     <accept>
88636e
       <family>Nimbus Sans</family>
88636e
     </accept>
88636e
   </alias>
88636e
+
88636e
+  <alias binding="same">
88636e
+    <family>TeX Gyre Heroes Cn</family>
88636e
+    <accept>
88636e
+      <family>Nimbus Sans Narrow</family>
88636e
+    </accept>
88636e
+  </alias>
88636e
 </fontconfig>
88636e
-- 
88636e
2.9.5
88636e