Revert "conf.d: Drop aliases for (URW)++ fonts" and patch
This reverts commit fa27b150fbfc30c8bc94e6a2bbf1119bb2251e86.
This also reverts "build: Remove references to deleted file", commit
3b69b7ad92d26b59441814afb82b54905442ff16, which was a patch for the
original commit being reverted (it removed a file, and the patch removed
it from the lists of files to install).
The URW++ fonts are currently supplied by media-fonts/urw-fonts-2.4.9,
which does not currently supply the aliases for fontconfig. There is a
Gentoo bug for updating urw-fonts to a version that may supply its own
aliases for fontconfig which may fix this:
https://bugs.gentoo.org/show_bug.cgi?id=589890
Until that is fixed, this restores the old aliases supplied by
fontconfig.
The commit this reverts removed some excess whitespace. This revert was
modified to keep those changes. This commit was also modified to keep
some comments about them being removed, with an extra comment that they
were restored temporarily.
diff --git a/conf.d/30-metric-aliases.conf b/conf.d/30-metric-aliases.conf
index c755c5e..b552b27 100644
--- a/conf.d/30-metric-aliases.conf
+++ b/conf.d/30-metric-aliases.conf
@@ -47,6 +47,8 @@ but in an order preferring similar designs first. We do this in three steps:
NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
upstream now includes them in their release of (URW)++ Core Font Set here:
https://github.com/ArtifexSoftware/urw-base35-fonts/tree/master/fontconfig
+NOTE: As of 2018-04-16, media-fonts/urw-fonts does not supply these
+ mappings to fontconfig, so they were restored.
-->
@@ -498,6 +500,8 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
Helvetica
TeX Gyre Heros
+ Nimbus Sans
+ Nimbus Sans L
@@ -505,6 +509,7 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
Helvetica Narrow
TeX Gyre Heros Cn
+ Nimbus Sans Narrow
@@ -512,6 +517,8 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
Times
TeX Gyre Termes
+ Nimbus Roman
+ Nimbus Roman No9 L
@@ -519,6 +526,9 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
Courier
TeX Gyre Cursor
+ Nimbus Mono PS
+ Nimbus Mono
+ Nimbus Mono L
@@ -526,6 +536,8 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
ITC Avant Garde Gothic
TeX Gyre Adventor
+ URW Gothic
+ URW Gothic L
@@ -534,6 +546,9 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
Bookman Old Style
TeX Gyre Bonum
+ URW Bookman
+ Bookman URW
+ URW Bookman L
@@ -541,6 +556,9 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
ITC Zapf Chancery
TeX Gyre Chorus
+ Z003
+ Chancery URW
+ URW Chancery L
@@ -549,6 +567,9 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
Palatino Linotype
TeX Gyre Pagella
+ P052
+ Palladio URW
+ URW Palladio L
@@ -557,6 +578,9 @@ NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
Century Schoolbook
TeX Gyre Schola
+ C059
+ Century SchoolBook URW
+ Century Schoolbook L
diff --git a/conf.d/30-urw-aliases.conf b/conf.d/30-urw-aliases.conf
new file mode 100644
index 0000000..cfde071
--- /dev/null
+++ b/conf.d/30-urw-aliases.conf
@@ -0,0 +1,33 @@
+
+
+
+
+
+ Zapf Dingbats
+
+ D050000L
+ Dingbats
+
+
+
+ ITC Zapf Dingbats
+
+ D050000L
+ Dingbats
+
+
+
+
+ Symbol
+
+
+ Standard Symbols PS
+
+
+ Standard Symbols L
+
+
+
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am
index ff03fb2..fd50a5d 100644
--- a/conf.d/Makefile.am
+++ b/conf.d/Makefile.am
@@ -29,6 +29,7 @@ CONF_LINKS = \
10-hinting-$(PREFERRED_HINTING).conf \
10-scale-bitmap-fonts.conf \
20-unhint-small-vera.conf \
+ 30-urw-aliases.conf \
30-metric-aliases.conf \
40-nonlatin.conf \
45-generic.conf \
@@ -69,6 +70,7 @@ template_DATA = \
11-lcdfilter-light.conf \
20-unhint-small-vera.conf \
25-unhint-nonlatin.conf \
+ 30-urw-aliases.conf \
30-metric-aliases.conf \
40-nonlatin.conf \
45-generic.conf \