substituted badly monospaced Nimbus Mono PS with Dejavu Sans Mono
added substitution for Century
This commit is contained in:
parent
ba9072e038
commit
b6edbcb7ab
26
urw-base35-fonts-20200910-Nimbus-Mono-substitution.patch
Normal file
26
urw-base35-fonts-20200910-Nimbus-Mono-substitution.patch
Normal file
@ -0,0 +1,26 @@
|
||||
--- a/fontconfig/urw-nimbus-mono-ps.conf
|
||||
+++ b/fontconfig/urw-nimbus-mono-ps.conf
|
||||
@@ -1,6 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
+<!-- Substitution with DejaVu Sans Mono. Nimbus Mono PS is not properly monospaced. -->
|
||||
++<match>
|
||||
++ <test name="family"><string>Nimbus Mono PS</string></test>
|
||||
++ <edit name="family"><string>DejaVu Sans Mono</string></edit>
|
||||
++</match>
|
||||
+
|
||||
++<match>
|
||||
++ <test name="family"><string>Courier</string></test>
|
||||
++ <edit name="family"><string>DejaVu Sans Mono</string></edit>
|
||||
++</match>
|
||||
+
|
||||
++<match>
|
||||
++ <test name="family"><string>Nimbus Mono L</string></test>
|
||||
++ <edit name="family"><string>DejaVu Sans Mono</string></edit>
|
||||
++</match>
|
||||
+
|
||||
<!-- Generic name aliasing -->
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
|
||||
31
urw-base35-fonts-20200910-add-alias-to-Century.patch
Normal file
31
urw-base35-fonts-20200910-add-alias-to-Century.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From ae671b1b1f4219b090628f259b994eada336d965 Mon Sep 17 00:00:00 2001
|
||||
From: John Pye <john.pye@anu.edu.au>
|
||||
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 @@
|
||||
</accept>
|
||||
</alias>
|
||||
|
||||
+ <alias binding="same">
|
||||
+ <family>Century</family>
|
||||
+ <accept>
|
||||
+ <family>C059</family>
|
||||
+ </accept>
|
||||
+ </alias>
|
||||
+
|
||||
<alias binding="same">
|
||||
<family>Tex Gyre Schola</family>
|
||||
<accept>
|
||||
--
|
||||
2.35.3
|
||||
|
||||
@ -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 <rlescak@redhat.com> 20200910-11
|
||||
- Substituted badly monospaced Nimbus Mono PS with Dejavu Sans Mono (#2021366)
|
||||
- added substitution for Century
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20200910-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user