diff --git a/urw-base35-fonts-20200910-Nimbus-Mono-substitution.patch b/urw-base35-fonts-20200910-Nimbus-Mono-substitution.patch new file mode 100644 index 0000000..7bb364e --- /dev/null +++ b/urw-base35-fonts-20200910-Nimbus-Mono-substitution.patch @@ -0,0 +1,26 @@ +--- a/fontconfig/urw-nimbus-mono-ps.conf ++++ b/fontconfig/urw-nimbus-mono-ps.conf +@@ -1,6 +1,22 @@ + + + ++ +++ +++ Nimbus Mono PS +++ DejaVu Sans Mono +++ ++ +++ +++ Courier +++ DejaVu Sans Mono +++ ++ +++ +++ Nimbus Mono L +++ DejaVu Sans Mono +++ ++ + + + monospace + diff --git a/urw-base35-fonts-20200910-add-alias-to-Century.patch b/urw-base35-fonts-20200910-add-alias-to-Century.patch new file mode 100644 index 0000000..2ba371b --- /dev/null +++ b/urw-base35-fonts-20200910-add-alias-to-Century.patch @@ -0,0 +1,31 @@ +From ae671b1b1f4219b090628f259b994eada336d965 Mon Sep 17 00:00:00 2001 +From: John Pye +Date: Wed, 3 Nov 2021 09:07:03 +1100 +Subject: [PATCH] adding an alias to 'Century' + +(see https://docs.microsoft.com/en-us/typography/font-list/century) +--- + fontconfig/urw-c059.conf | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/fontconfig/urw-c059.conf b/fontconfig/urw-c059.conf +index 8d3126e..35b3a24 100644 +--- a/fontconfig/urw-c059.conf ++++ b/fontconfig/urw-c059.conf +@@ -40,6 +40,13 @@ + + + ++ ++ Century ++ ++ C059 ++ ++ ++ + + Tex Gyre Schola + +-- +2.35.3 + diff --git a/urw-base35-fonts.spec b/urw-base35-fonts.spec index a2b7056..0bf481a 100644 --- a/urw-base35-fonts.spec +++ b/urw-base35-fonts.spec @@ -183,7 +183,7 @@ by (URW)++ company, and are mainly utilized by applications using Ghostscript. Name: %{fontname}-fonts Summary: Core Font Set containing 35 freely distributable fonts from (URW)++ Version: 20200910 -Release: 10%{?dist} +Release: 11%{?dist} # NOTE: (URW)++ holds the copyright, but Artifex Software has obtained rights to # release these fonts under GNU Affero General Public License (version 3). @@ -197,6 +197,8 @@ Source1: urw-fonts-1.0.7pre44.tar.bz2 BuildArch: noarch Patch01: urw-base35-fonts-20200910-dont-config-d050000l-as-fantasy-font.patch +Patch02: urw-base35-fonts-20200910-Nimbus-Mono-substitution.patch +Patch03: urw-base35-fonts-20200910-add-alias-to-Century.patch BuildRequires: fontpackages-devel BuildRequires: libappstream-glib @@ -450,6 +452,10 @@ mkfontdir %{legacydir} # ============================================================================= %changelog +* Wed May 18 2022 Richard Lescak 20200910-11 +- Substituted badly monospaced Nimbus Mono PS with Dejavu Sans Mono (#2021366) +- added substitution for Century + * Sat Jan 22 2022 Fedora Release Engineering - 20200910-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild