From: Behdad Esfahbod Date: Mon, 5 Nov 2007 23:12:51 +0000 (-0500) Subject: Simplify/improve 30-metric-aliases.conf X-Git-Tag: 2.4.92~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a504f6b5394b96d2c6a24772b61705227a8e88ab;p=fontconfig.git Simplify/improve 30-metric-aliases.conf --- diff --git a/conf.d/30-metric-aliases.conf b/conf.d/30-metric-aliases.conf index fa6908f..87e4493 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 + + Helvetica + + + + + Nimbus Roman No9 L + + Times + + + + + Nimbus Mono L + + Courier + + + + + + Liberation Sans - Arial Albany Albany AMT - + + Arial + - - Times - - Nimbus Roman No9 L + Liberation Serif - Times New Roman Thorndale Thorndale AMT - + + Times New Roman + - - Courier - - Nimbus Mono L + Liberation Mono - Courier New 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 + + + Arial Liberation Sans - Arial Albany - Helvetica - Nimbus Sans L + Albany AMT - - Thorndale AMT + + Times New Roman Liberation Serif - Times New Roman Thorndale - Times - Nimbus Roman No9 L + Thorndale AMT - - Cumberland AMT + + Courier New Liberation Mono - Courier New Cumberland - Courier - Nimbus Mono L + Cumberland AMT +