X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=conf.d%2F30-metric-aliases.conf;h=702a495ea6a4d2a57ae4da84579b0abafe5820af;hb=52742ff86b60b1d244c1e87611aff5ceee46e596;hp=fa6908fde6fda94d5b0c1147361d476c304fe11a;hpb=7465091fa90753440ed775de5783387bc4fd9cc4;p=fontconfig.git
diff --git a/conf.d/30-metric-aliases.conf b/conf.d/30-metric-aliases.conf
index fa6908f..702a495 100644
--- a/conf.d/30-metric-aliases.conf
+++ b/conf.d/30-metric-aliases.conf
@@ -8,14 +8,19 @@
Helvetica
Times
Courier
- Microsoft fonts:
- Arial
- Times New Roman
- Courier New
URW fonts:
Nimbus Sans L
Nimbus Roman No9 L
Nimbus Mono L
+
+ Microsoft fonts:
+ Arial
+ Times New Roman
+ Courier New
+ Liberation fonts:
+ Liberation Sans
+ Liberation Serif
+ Liberation Mono
StarOffice fonts:
Albany
Thorndale
@@ -24,10 +29,6 @@
Albany AMT
Thorndale AMT
Cumberland AMT
- Liberation fonts:
- Liberation Sans
- Liberation Serif
- Liberation Mono
Of these, URW fonts are design compatible with PostScrict fonts,
and the Liberation, StarOffice, and AMT ones are compatible with
@@ -35,151 +36,176 @@
We want for each of them to fallback to any of these
available, but in an order preferring similar designs
- first.
-
- We don't alias URW and Liberation fonts though, given that
- they are free and less probable to appear in documents by
- name.
+ first. We do this in three steps:
+
+ 1) Alias each specific to it's generic family.
+ eg. Liberation Sans to Arial
+
+ 2) Weak alias each generic to the other generic of its family.
+ eg. Arial to Helvetica
+
+ 3) Alias each generic to its specifics.
+ eg. Arial to Liberation Sans, Albany, and Albany AMT
-->
+
+
-
- Helvetica
-
+
Nimbus Sans L
- Liberation Sans
- Arial
+
+ Helvetica
+
+
+
+
+ Nimbus Roman No9 L
+
+ Times
+
+
+
+
+ Nimbus Mono L
+
+ Courier
+
+
+
+
+
+
+ Liberation Sans
Albany
Albany AMT
-
+
+ Arial
+
-
- Times
-
- Nimbus Roman No9 L
- Liberation Serif
- Times New Roman
+
+ Liberation Serif
Thorndale
Thorndale AMT
-
+
+ Times New Roman
+
-
- Courier
-
- Nimbus Mono L
- Liberation Mono
- Courier New
+
+ Liberation Mono
Cumberland
Cumberland AMT
-
+
+ Courier New
+
+
+
+
+
+
+ Helvetica
+
+ Arial
+
+
+
+
+ Times
+
+ Times New Roman
+
+
+
+
+ Courier
+
+ Courier New
+
+
+
+
-
+
Arial
-
- Liberation Sans
- Albany
- Albany AMT
+
Helvetica
- Nimbus Sans L
-
+
-
+
Times New Roman
-
- Liberation Serif
- Thorndale
- Thorndale AMT
+
Times
- Nimbus Roman No9 L
-
+
-
+
Courier New
-
- Liberation Mono
- Cumberland
- Cumberland AMT
+
Courier
- Nimbus Mono L
-
+
-
-
- Albany
-
- Liberation Sans
- Arial
- Albany AMT
+
+
+
+
+
+
Helvetica
+
Nimbus Sans L
-
- Thorndale
-
- Liberation Serif
- Times New Roman
- Thorndale AMT
+
Times
+
Nimbus Roman No9 L
-
- Cumberland
-
- Liberation Mono
- Courier New
- Cumberland AMT
+
Courier
+
Nimbus Mono L
-
-
- Albany AMT
-
- Liberation Sans
+
+
Arial
+
+ Liberation Sans
Albany
- Helvetica
- Nimbus Sans L
+ Albany AMT
-
- Thorndale AMT
-
- Liberation Serif
+
Times New Roman
+
+ Liberation Serif
Thorndale
- Times
- Nimbus Roman No9 L
+ Thorndale AMT
-
- Cumberland AMT
-
- Liberation Mono
+
Courier New
+
+ Liberation Mono
Cumberland
- Courier
- Nimbus Mono L
+ Cumberland AMT
+