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

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

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

434d42
-    

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