Note that the parts mapping specifics to generics (eg. Nimbus Sans L -> Helvetica) is useful also when the user does NOT have URW fonts installed. So I'm leaning towards keeping that part in-tree.
On Mon, Aug 28, 2017 at 7:05 AM, David Kaspar [Dee'Kej] <dkaspar@xxxxxxxxxx> wrote:
They have become a part of (URW)++ upstream release now:
https://github.com/ArtifexSoftware/urw-base35- fonts/tree/master/fontconfig
---
conf.d/30-metric-aliases.conf | 183 +-----------------------------------------
conf.d/30-urw-aliases.conf | 33 --------
2 files changed, 3 insertions(+), 213 deletions(-)
delete mode 100644 conf.d/30-urw-aliases.conf
diff --git a/conf.d/30-metric-aliases.conf b/conf.d/30-metric-aliases. conf
index 1f0778d..6e3fe5c 100644
--- a/conf.d/30-metric-aliases.conf
+++ b/conf.d/30-metric-aliases.conf
@@ -44,26 +44,15 @@ but in an order preferring similar designs first. We do this in three steps:
3) Alias each generic to its specifics.
e.g. Arial to Liberation Sans, Arimo, Albany, and Albany AMT
+NOTE: The (URW)++ fonts mappings/aliasing were removed, because upstream now
+ includes them in their release of (URW)++ Core Font Set [Level 2], here:
+ https://github.com/ArtifexSoftware/urw-base35- fonts/tree/master/fontconfig
-->
<!-- Map specifics to generics -->
<!-- PostScript -->
<alias binding="same">
- <family>Nimbus Sans L</family>
- <default>
- <family>Helvetica</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Nimbus Sans</family>
- <default>
- <family>Helvetica</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Heros</family>
<default>
<family>Helvetica</family>
@@ -71,13 +60,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>Nimbus Sans Narrow</family>
- <default>
- <family>Helvetica Narrow</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Heros Cn</family>
<default>
<family>Helvetica Narrow</family>
@@ -85,20 +67,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>Nimbus Roman No9 L</family>
- <default>
- <family>Times</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Nimbus Roman</family>
- <default>
- <family>Times</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Termes</family>
<default>
<family>Times</family>
@@ -106,27 +74,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>Nimbus Mono L</family>
- <default>
- <family>Courier</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Nimbus Mono</family>
- <default>
- <family>Courier</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Nimbus Mono PS</family>
- <default>
- <family>Courier</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Cursor</family>
<default>
<family>Courier</family>
@@ -141,20 +88,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>URW Gothic L</family>
- <default>
- <family>ITC Avant Garde Gothic</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>URW Gothic</family>
- <default>
- <family>ITC Avant Garde Gothic</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Adventor</family>
<default>
<family>ITC Avant Garde Gothic</family>
@@ -169,27 +102,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>URW Bookman L</family>
- <default>
- <family>ITC Bookman</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Bookman URW</family>
- <default>
- <family>ITC Bookman</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>URW Bookman</family>
- <default>
- <family>ITC Bookman</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Bonum</family>
<default>
<family>ITC Bookman</family>
@@ -211,27 +123,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>URW Chancery L</family>
- <default>
- <family>ITC Zapf Chancery</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Chancery URW</family>
- <default>
- <family>ITC Zapf Chancery</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Z003</family>
- <default>
- <family>ITC Zapf Chancery</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Chorus</family>
<default>
<family>ITC Zapf Chancery</family>
@@ -239,27 +130,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>URW Palladio L</family>
- <default>
- <family>Palatino</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Palladio URW</family>
- <default>
- <family>Palatino</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>P052</family>
- <default>
- <family>Palatino</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Pagella</family>
<default>
<family>Palatino</family>
@@ -274,27 +144,6 @@ but in an order preferring similar designs first. We do this in three steps:
</alias>
<alias binding="same">
- <family>Century Schoolbook L</family>
- <default>
- <family>New Century Schoolbook</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>Century SchoolBook URW</family>
- <default>
- <family>New Century Schoolbook</family>
- </default>
- </alias>
-
- <alias binding="same">
- <family>C059</family>
- <default>
- <family>New Century Schoolbook</family>
- </default>
- </alias>
-
- <alias binding="same">
<family>TeX Gyre Schola</family>
<default>
<family>New Century Schoolbook</family>
@@ -308,7 +157,6 @@ but in an order preferring similar designs first. We do this in three steps:
</default>
</alias>
-
<!-- Microsoft -->
<alias binding="same">
<family>Arimo</family>
@@ -460,7 +308,6 @@ but in an order preferring similar designs first. We do this in three steps:
</default>
</alias>
-
<!-- Microsoft -->
<alias>
<family>Arial</family>
@@ -490,8 +337,6 @@ but in an order preferring similar designs first. We do this in three steps:
</default>
</alias>
-
-
<!-- Map generics to specifics -->
<!-- PostScript -->
@@ -499,8 +344,6 @@ but in an order preferring similar designs first. We do this in three steps:
<family>Helvetica</family>
<accept>
<family>TeX Gyre Heros</family>
- <family>Nimbus Sans</family>
- <family>Nimbus Sans L</family>
</accept>
</alias>
@@ -508,7 +351,6 @@ but in an order preferring similar designs first. We do this in three steps:
<family>Helvetica Narrow</family>
<accept>
<family>TeX Gyre Heros Cn</family>
- <family>Nimbus Sans Narrow</family>
</accept>
</alias>
@@ -516,8 +358,6 @@ but in an order preferring similar designs first. We do this in three steps:
<family>Times</family>
<accept>
<family>TeX Gyre Termes</family>
- <family>Nimbus Roman</family>
- <family>Nimbus Roman No9 L</family>
</accept>
</alias>
@@ -525,9 +365,6 @@ but in an order preferring similar designs first. We do this in three steps:
<family>Courier</family>
<accept>
<family>TeX Gyre Cursor</family>
- <family>Nimbus Mono PS</family>
- <family>Nimbus Mono</family>
- <family>Nimbus Mono L</family>
</accept>
</alias>
@@ -535,8 +372,6 @@ but in an order preferring similar designs first. We do this in three steps:
<family>ITC Avant Garde Gothic</family>
<accept>
<family>TeX Gyre Adventor</family>
- <family>URW Gothic</family>
- <family>URW Gothic L</family>
</accept>
</alias>
@@ -545,9 +380,6 @@ but in an order preferring similar designs first. We do this in three steps:
<accept>
<family>Bookman Old Style</family>
<family>TeX Gyre Bonum</family>
- <family>URW Bookman</family>
- <family>Bookman URW</family>
- <family>URW Bookman L</family>
</accept>
</alias>
@@ -555,9 +387,6 @@ but in an order preferring similar designs first. We do this in three steps:
<family>ITC Zapf Chancery</family>
<accept>
<family>TeX Gyre Chorus</family>
- <family>Z003</family>
- <family>Chancery URW</family>
- <family>URW Chancery L</family>
</accept>
</alias>
@@ -566,9 +395,6 @@ but in an order preferring similar designs first. We do this in three steps:
<accept>
<family>Palatino Linotype</family>
<family>TeX Gyre Pagella</family>
- <family>P052</family>
- <family>Palladio URW</family>
- <family>URW Palladio L</family>
</accept>
</alias>
@@ -577,9 +403,6 @@ but in an order preferring similar designs first. We do this in three steps:
<accept>
<family>Century Schoolbook</family>
<family>TeX Gyre Schola</family>
- <family>C059</family>
- <family>Century SchoolBook URW</family>
- <family>Century Schoolbook L</family>
</accept>
</alias>
diff --git a/conf.d/30-urw-aliases.conf b/conf.d/30-urw-aliases.conf
deleted file mode 100644
index cfde071..0000000
--- a/conf.d/30-urw-aliases.conf
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
-<!--
- URW provides metric and shape compatible fonts for some Adobe families.
- Most of these are handled in 30-metric-aliases.conf.
- -->
- <alias binding="same">
- <family>Zapf Dingbats</family>
- <accept>
- <family>D050000L</family>
- <family>Dingbats</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>ITC Zapf Dingbats</family>
- <accept>
- <family>D050000L</family>
- <family>Dingbats</family>
- </accept>
- </alias>
- <match target="pattern">
- <test name="family" compare="eq" ignore-blanks="true">
- <string>Symbol</string>
- </test>
- <edit name="family" mode="append" binding="same">
- <string>Standard Symbols PS</string>
- </edit>
- <edit name="family" mode="append" binding="same">
- <string>Standard Symbols L</string>
- </edit>
- </match>
-</fontconfig>
--
2.9.5
_______________________________________________
Fontconfig mailing list
Fontconfig@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/fontconfig
--
behdad
http://behdad.org/
http://behdad.org/
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig