summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbohoomil2015-07-29 08:52:57 +0200
committerbohoomil2015-07-29 08:52:57 +0200
commit62e41b05703b86aaf286cb8a043fa135fd289664 (patch)
tree9befabb653fb59cf8658a56cc697aa28da868a1f
downloadaur-62e41b05703b86aaf286cb8a043fa135fd289664.tar.gz
initial
-rw-r--r--.SRCINFO36
-rw-r--r--29-metric-aliases-cyr.conf578
-rw-r--r--36-repl-global-cyr.conf1391
-rw-r--r--45-urw-fonts-cyr.conf54
-rw-r--r--59-latin-cyr.conf55
-rw-r--r--90-non-tt-urw-fonts-cyr.conf167
-rw-r--r--PKGBUILD48
-rw-r--r--README_IB18
-rw-r--r--gsfonts-cyr.install14
9 files changed, 2361 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..badfa7667f44
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,36 @@
+# Generated by makepkg 4.2.1
+# Sat Mar 28 02:29:06 UTC 2015
+pkgbase = gsfonts-cyr
+ pkgdesc = URW and Postscript core35 fonts with Cyrillic support
+ pkgver = 2.4
+ pkgrel = 2
+ url = http://sourceforge.net/projects/gs-fonts/
+ install = gsfonts-cyr.install
+ arch = any
+ license = GPL2
+ makedepends = rpmextract
+ depends = fontconfig
+ depends = xorg-font-utils
+ provides = gsfonts
+ provides = t1-urw-fonts-ib
+ provides = t1-urw-fonts-cyr-ib
+ conflicts = gsfonts
+ conflicts = t1-urw-fonts-ib
+ conflicts = t1-urw-fonts-cyr-ib
+ source = http://kojipkgs.fedoraproject.org/packages/urw-fonts/2.4/17.fc20/src/urw-fonts-2.4-17.fc20.src.rpm
+ source = 29-metric-aliases-cyr.conf
+ source = 36-repl-global-cyr.conf
+ source = 45-urw-fonts-cyr.conf
+ source = 59-latin-cyr.conf
+ source = 90-non-tt-urw-fonts-cyr.conf
+ source = README_IB
+ sha1sums = 0066723d9cd086cfdaecc57f7b216545a50924dd
+ sha1sums = 55d922471acee0cc3e2476c71a71deec5616cd5a
+ sha1sums = e30b667954cb8e4a07810a1fcfd3c861b0289c8a
+ sha1sums = 5f96002a53d4eddbd23c9b0991cc3c332b29e8c3
+ sha1sums = b863decf687afd51bdc14150b1c2919611e878b1
+ sha1sums = 9ec26822d826d9ca6efa11b4e7810d5c8a280101
+ sha1sums = 03a20097452894cfe4d58c1f94cc5c46fe88a873
+
+pkgname = gsfonts-cyr
+
diff --git a/29-metric-aliases-cyr.conf b/29-metric-aliases-cyr.conf
new file mode 100644
index 000000000000..4260bca5a40d
--- /dev/null
+++ b/29-metric-aliases-cyr.conf
@@ -0,0 +1,578 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+<!--
+
+Alias similar/metric-compatible families from various sources (free fonts
+collection):
+
+PostScript fonts URW fonts GUST fonts Liberation fonts Windows fonts
+====================== ====================== ================= ====================== ==================
+Helvetica Nimbus Sans L TeX Gyre Heros Liberation Sans Arial
+Helvetica Condensed Nimbus Sans L Narrow TeX Gyre Heros Cn Liberation Sans Narrow Arial Narrow
+Times Nimbus Roman No9 L TeX Gyre Termes Liberation Serif Times New Roman
+Courier Nimbus Mono L TeX Gyre Cursor Liberation Mono Courier New
+ITC Avant Garde Gothic URW Gothic L TeX Gyre Adventor Century Gothic
+ITC Bookman URW Bookman L TeX Gyre Bonum Book Antiqua
+ITC Zapf Chancery URW Chancery L TeX Gyre Chorus
+Palatino URW Palladio L TeX Gyre Pagella Palatino Linotype
+New Century Schoolbook Century SchoolBook URW TeX Gyre Schola Century Schoolbook
+
+Microsoft fonts Liberation fonts URW fonts GUST fonts Google CrOS core fonts
+=============== ====================== ==================== ================= ======================
+Arial Liberation Sans Nimbus Sans L TeX Gyre Heros Arimo
+Arial Narrow Liberation Sans Narrow Nimbus Sans L Narrow TeX Gyre Heros Cn
+Times New Roman Liberation Serif Nimbus Roman No9 L TeX Gyre Termes Tinos
+Courier New Liberation Mono Nimbus Mono L TeX Gyre Cursor Cousine
+
+Microsoft fonts Other fonts
+=============== =======================
+Consolas Droid Sans Mono Slashed
+Calibri Carlito
+Cambria Caladea
+Georgia Gelasio
+
+We want for each of them to fallback to any of these available,
+but in an order preferring similar designs first. We do this in three steps:
+
+1) Alias each specific to its generic family.
+ e.g. Liberation Sans || Nimbus Sans L || TeX Gyre Heros to Arial
+
+2) Weak alias each generic to the other generic of its family.
+ e.g. Arial to Liberation Sans || Nimbus Sans L || TeX Gyre Heros || Arimo
+
+3) Alias each generic to its specifics.
+ e.g. Arial to Liberation Sans, TeX Gyre Heros, Arimo
+
+-->
+
+ <!-- Map specifics to generics -->
+
+ <!-- PostScript -->
+ <alias binding="same">
+ <family>TeX Gyre Heros</family>
+ <default>
+ <family>Helvetica</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Heros Cn</family>
+ <default>
+ <family>Helvetica Condensed</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Sans L</family>
+ <default>
+ <family>Helvetica</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Sans L Narrow</family>
+ <default>
+ <family>Helvetica Condensed</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Termes</family>
+ <default>
+ <family>Times</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Roman No9 L</family>
+ <default>
+ <family>Times</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Cursor</family>
+ <default>
+ <family>Courier</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Mono L</family>
+ <default>
+ <family>Courier</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Adventor</family>
+ <default>
+ <family>ITC Avant Garde Gothic</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>URW Gothic L</family>
+ <default>
+ <family>ITC Avant Garde Gothic</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Century Gothic</family>
+ <default>
+ <family>ITC Avant Garde Gothic</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Bonum</family>
+ <default>
+ <family>ITC Bookman</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>URW Bookman L</family>
+ <default>
+ <family>ITC Bookman</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Book Antiqua</family>
+ <default>
+ <family>ITC Bookman</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Chorus</family>
+ <default>
+ <family>ITC Zapf Chancery</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>URW Chancery L</family>
+ <default>
+ <family>ITC Zapf Chancery</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Pagella</family>
+ <default>
+ <family>Palatino</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>URW Palladio L</family>
+ <default>
+ <family>Palatino</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Palatino Linotype</family>
+ <default>
+ <family>Palatino</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Schola</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>Century Schoolbook</family>
+ <default>
+ <family>New Century Schoolbook</family>
+ </default>
+ </alias>
+
+
+ <!-- Microsoft -->
+ <alias binding="same">
+ <family>Liberation Sans</family>
+ <default>
+ <family>Arial</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Liberation Sans Narrow</family>
+ <default>
+ <family>Arial Narrow</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Sans L</family>
+ <default>
+ <family>Arial</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Sans L Narrow</family>
+ <default>
+ <family>Arial Narrow</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Heros</family>
+ <default>
+ <family>Arial</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Heros Cn</family>
+ <default>
+ <family>Arial Narrow</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Arimo</family>
+ <default>
+ <family>Arial</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Liberation Serif</family>
+ <default>
+ <family>Times New Roman</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Serif No9 L</family>
+ <default>
+ <family>Times New Roman</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Termes</family>
+ <default>
+ <family>Times New Roman</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Tinos</family>
+ <default>
+ <family>Times New Roman</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Liberation Mono</family>
+ <default>
+ <family>Courier New</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Nimbus Mono L</family>
+ <default>
+ <family>Courier New</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>TeX Gyre Cursor</family>
+ <default>
+ <family>Courier New</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Cousine</family>
+ <default>
+ <family>Courier New</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Droid Sans Mono Slashed</family>
+ <default>
+ <family>Consolas</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Carlito</family>
+ <default>
+ <family>Calibri</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Caladea</family>
+ <default>
+ <family>Cambria</family>
+ </default>
+ </alias>
+
+ <alias binding="same">
+ <family>Gelasio</family>
+ <default>
+ <family>Georgia</family>
+ </default>
+ </alias>
+
+
+ <!-- Accept URW or GUST group as fallback -->
+
+ <!-- PostScript -->
+ <alias>
+ <family>Nimbus Sans L</family>
+ <default>
+ <family>Arial</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Nimbus Sans L Narrow</family>
+ <default>
+ <family>Arial Narrow</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>TeX Gyre Heros</family>
+ <default>
+ <family>Arial</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>TeX Gyre Heros Cn</family>
+ <default>
+ <family>Arial Narrow</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Nimbus Roman No9 L</family>
+ <default>
+ <family>Times New Roman</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>TeX Gyre Termes</family>
+ <default>
+ <family>Times New Roman</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Nimbus Mono L</family>
+ <default>
+ <family>Courier New</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>TeX Gyre Cursor</family>
+ <default>
+ <family>Courier New</family>
+ </default>
+ </alias>
+
+
+ <!-- Microsoft -->
+ <alias>
+ <family>Arial</family>
+ <default>
+ <family>Liberation Sans</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Arial Narrow</family>
+ <default>
+ <family>Liberation Sans Narrow</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Times New Roman</family>
+ <default>
+ <family>Liberation Serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Courier New</family>
+ <default>
+ <family>Liberation Mono</family>
+ </default>
+ </alias>
+
+
+ <!-- Map generics to specifics -->
+
+ <!-- PostScript -->
+ <alias binding="same">
+ <family>Helvetica</family>
+ <accept>
+ <family>Liberation Sans</family>
+ <family>Nimbus Sans L</family>
+ <family>TeX Gyre Heros</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Helvetica Condensed</family>
+ <accept>
+ <family>Liberation Sans Narrow</family>
+ <family>Nimbus Sans L Narrow</family>
+ <family>TeX Gyre Heros Cn</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Times</family>
+ <accept>
+ <family>Nimbus Roman No9 L</family>
+ <family>TeX Gyre Termes</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Courier</family>
+ <accept>
+ <family>Nimbus Mono L</family>
+ <family>TeX Gyre Cursor</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>ITC Avant Garde Gothic</family>
+ <accept>
+ <family>URW Gothic L</family>
+ <family>TeX Gyre Adventor</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>ITC Bookman</family>
+ <accept>
+ <family>URW Bookman L</family>
+ <family>TeX Gyre Bonum</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>ITC Zapf Chancery</family>
+ <accept>
+ <family>URW Chancery L</family>
+ <family>TeX Gyre Chorus</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Palatino</family>
+ <accept>
+ <family>URW Palladio L</family>
+ <family>TeX Gyre Pagella</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>New Century Schoolbook</family>
+ <accept>
+ <family>Century SchoolBook URW</family>
+ <family>TeX Gyre Schola</family>
+ </accept>
+ </alias>
+
+ <!-- Microsoft -->
+ <alias binding="same">
+ <family>Arial</family>
+ <accept>
+ <family>Liberation Sans</family>
+ <family>Nimbus Sans L</family>
+ <family>TeX Gyre Heros</family>
+ <family>Arimo</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Arial Narrow</family>
+ <accept>
+ <family>Liberation Sans Narrow</family>
+ <family>Nimbus Sans L Narrow</family>
+ <family>TeX Gyre Heros Cn</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Times New Roman</family>
+ <accept>
+ <family>Liberation Serif</family>
+ <family>Niumbus Serif</family>
+ <family>TeX Gyre Termes</family>
+ <family>Tinos</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Courier New</family>
+ <accept>
+ <family>Liberation Mono</family>
+ <family>Nimbus Mono L</family>
+ <family>TeX Gyre Cursor</family>
+ <family>Cousine</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Consolas</family>
+ <accept>
+ <family>Droid Sans Mono Slashed</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Calibri</family>
+ <accept>
+ <family>Carlito</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Cambria</family>
+ <accept>
+ <family>Caladea</family>
+ </accept>
+ </alias>
+
+ <alias binding="same">
+ <family>Georgia</family>
+ <accept>
+ <family>Gelasio</family>
+ </accept>
+ </alias>
+
+</fontconfig>
diff --git a/36-repl-global-cyr.conf b/36-repl-global-cyr.conf
new file mode 100644
index 000000000000..0aa7782f1417
--- /dev/null
+++ b/36-repl-global-cyr.conf
@@ -0,0 +1,1391 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <!-- ## Recommended free global replacements - free collection ## -->
+
+ <!-- To customize this file or provide your own substitutions,
+ use 35-repl-custom.conf (system-wide) or
+ XDG_CONFIG_HOME/fontconfig (per-user settings).-->
+
+ <!-- Arial => Liberation Sans -->
+ <match target="font">
+ <test name="family">
+ <string>Arial</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Liberation Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Arial</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Liberation Sans</string>
+ </edit>
+ </match>
+
+ <!-- Arial Black => Archivo Black -->
+ <match target="font">
+ <test name="family">
+ <string>Arial Black</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Archivo Black</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Arial Black</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Archivo Black</string>
+ </edit>
+ </match>
+
+ <!-- Arial Narrow => Liberation Sans Narrow -->
+ <match target="font">
+ <test name="family">
+ <string>Arial Narrow</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Liberation Sans Narrow</string>
+ <string>Nimbus Sans L Narrow</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Arial Narrow</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Liberation Sans Narrow</string>
+ <string>Nimbus Sans L Narrow</string>
+ </edit>
+ </match>
+
+ <!-- Baskerville => Libre Baskerville -->
+ <match target="font">
+ <test name="family">
+ <string>Baskerville</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Libre Baskerville</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Baskerville</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Libre Baskerville</string>
+ </edit>
+ </match>
+
+ <!-- Calibri => Carlito -->
+ <match target="font">
+ <test name="family">
+ <string>Calibri</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Carlito</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Calibri</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Carlito</string>
+ </edit>
+ </match>
+
+ <!-- Cambria => Caladea -->
+ <match target="font">
+ <test name="family">
+ <string>Cambria</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Caladea</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Cambria</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Caladea</string>
+ </edit>
+ </match>
+
+ <!-- Candara = Linux Biolinum -->
+ <match target="font">
+ <test name="family">
+ <string>Candara</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Linux Biolinum O</string>
+ <string>Linux Biolinum T</string>
+ <string>Linux Biolinum</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Candara</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Linux Biolinum O</string>
+ <string>Linux Biolinum T</string>
+ <string>Linux Biolinum</string>
+ </edit>
+ </match>
+
+ <!-- {New} Century {Schoolbook} => TeX Gyre Schola || Century SchoolBook URW -->
+ <match target="font">
+ <test name="family">
+ <string>Century</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Schola</string>
+ <string>Century SchoolBook URW</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Century</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>TeX Gyre Schola</string>
+ <string>Century SchoolBook URW</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Century Schoolbook</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Schola</string>
+ <string>Century SchoolBook URW</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Century Schoolbook</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>TeX Gyre Schola</string>
+ <string>Century SchoolBook URW</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>New Century Schoolbook</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Schola</string>
+ <string>Century SchoolBook URW</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>New Century Schoolbook</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>TeX Gyre Schola</string>
+ <string>Century SchoolBook URW</string>
+ </edit>
+ </match>
+
+ <!-- Comic Sans MS => Signika -->
+ <match target="font">
+ <test name="family">
+ <string>Comic Sans MS</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Signika</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Comic Sans MS</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Signika</string>
+ </edit>
+ </match>
+
+ <!-- Consolas => Droid Sans Mono Slashed -->
+ <match target="font">
+ <test name="family">
+ <string>Consolas</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans Mono Slashed</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Consolas</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Droid Sans Mono Slashed</string>
+ </edit>
+ </match>
+
+ <!-- Constantia => Merriweather -->
+ <match target="font">
+ <test name="family">
+ <string>Constantia</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Merriweather</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Constantia</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Merriweather</string>
+ </edit>
+ </match>
+
+ <!-- Corbel => Merriweather Sans -->
+ <match target="font">
+ <test name="family">
+ <string>Corbel</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Merriweather Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Corbel</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Merriweather Sans</string>
+ </edit>
+ </match>
+
+ <!-- Courier || Courier New => Courier Prime -->
+ <!-- http://quoteunquoteapps.com/courierprime/ -->
+ <!-- If you are not using Adobe Courier T1 from TeXLive,
+ you can comment this out. -->
+ <match target="font">
+ <test name="family">
+ <string>Courier</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Courier Prime</string>
+ <string>TeX Gyre Cursor</string>
+ <string>Nimbus Mono L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Courier</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Courier Prime</string>
+ <string>TeX Gyre Cursor</string>
+ <string>Nimbus Mono L</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Courier New</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Courier Prime</string>
+ <string>TeX Gyre Cursor</string>
+ <string>Nimbus Mono L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Courier New</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Courier Prime</string>
+ <string>TeX Gyre Cursor</string>
+ <string>Nimbus Mono L</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Courier 10 Pitch</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Courier Prime</string>
+ <string>TeX Gyre Cursor</string>
+ <string>Nimbus Mono L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Courier 10 Pitch</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Courier Prime</string>
+ <string>TeX Gyre Cursor</string>
+ <string>Nimbus Mono L</string>
+ </edit>
+ </match>
+
+ <!-- {Adobe||ITC||Stempel} Garamond {Pro} => EB Garamond 12 -->
+ <match target="font">
+ <test name="family">
+ <string>Garamond</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Garamond</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Adobe Garamond Pro</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Adobe Garamond Pro</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>ITC Garamond</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>ITC Garamond</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Stempel Garamond</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Stempel Garamond</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>@font-face:Garamond Classic FS</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>@font-face:Garamond Classic FS</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>EB Garamond 12</string>
+ <string>EB Garamond</string>
+ </edit>
+ </match>
+
+ <!-- Geneva => Noto Sans -->
+ <match target="font">
+ <test name="family">
+ <string>Geneva</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Geneva</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+
+ <!-- Georgia => Gelasio -->
+ <match target="font">
+ <test name="family">
+ <string>Georgia</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Gelasio</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Georgia</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Gelasio</string>
+ </edit>
+ </match>
+
+ <!-- Gill Sans {MT} => Lato -->
+ <match target="font">
+ <test name="family">
+ <string>Gill Sans</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lato</string>
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Gill Sans</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Lato</string>
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Gill Sans MT</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lato</string>
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Gill Sans MT</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Lato</string>
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+
+ <!-- Helvetica => Liberation -->
+ <match target="font">
+ <test name="family">
+ <string>Helvetica</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Liberation Sans</string>
+ <string>TeX Gyre Heros</string>
+ <string>Nimbus Sans L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Helvetica</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Liberation Sans</string>
+ <string>TeX Gyre Heros</string>
+ <string>Nimbus Sans L</string>
+ </edit>
+ </match>
+
+ <!-- Helvetica Narrow => Liberation Sans Narrow -->
+ <match target="font">
+ <test name="family">
+ <string>Helvetica Narrow</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Liberation Sans Narrow</string>
+ <string>TeX Gyre Heros Cn</string>
+ <string>Nimbus Sans L Narrow</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Helvetica Narrow</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Liberation Sans Narrow</string>
+ <string>TeX Gyre Heros Cn</string>
+ <string>Nimbus Sans L Narrow</string>
+ </edit>
+ </match>
+
+ <!-- Helvetica Neue => Open Sans -->
+ <match target="pattern">
+ <test name="family" compare="eq" target="default">
+ <string>Helvetica Neue</string>
+ </test>
+ <edit name="family" mode="prepend" binding="same">
+ <string>Open Sans</string>
+ </edit>
+ </match>
+ <match target="font" >
+ <test name="family" qual="any" >
+ <string>Helvetica Neue</string>
+ </test>
+ <edit mode="assign" name="family" >
+ <string>Open Sans</string>
+ </edit>
+ </match>
+
+ <!-- Impact => Oswald -->
+ <match target="font">
+ <test name="family">
+ <string>Impact</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Oswald</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Impact</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Oswald</string>
+ </edit>
+ </match>
+
+ <!-- ITC Avant Garde Gothic || Century Gothic =>
+ TeX Gyre Adventor || URW Gothic L -->
+ <match target="font">
+ <test name="family">
+ <string>ITC Avant Garde Gothic</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Adventor</string>
+ <string>URW Gothic L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>ITC Avant Garde Gothic</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>TeX Gyre Adventor</string>
+ <string>URW Gothic L</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Century Gothic</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>TeX Gyre Adventor</string>
+ <string>URW Gothic L</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Century Gothic</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Adventor</string>
+ <string>URW Gothic L</string>
+ </edit>
+ </match>
+
+ <!-- ITC Bookman || Book Antiqua => TeX Gyre Bonum || URW Bookman L -->
+ <match target="font">
+ <test name="family">
+ <string>ITC Bookman</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Bonum</string>
+ <string>URW Bookman L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>ITC Bookman</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>TeX Gyre Bonum</string>
+ <string>URW Bookman L</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Book Antiqua</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>TeX Gyre Bonum</string>
+ <string>URW Bookman L</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Book Antiqua</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Bonum</string>
+ <string>URW Bookman L</string>
+ </edit>
+ </match>
+
+ <!-- ITC Zapf Chancery => TeX Gyre Chorus || URW Chancery L -->
+ <match target="font">
+ <test name="family">
+ <string>ITC Zapf Chancery</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Chorus</string>
+ <string>URW Chancery L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>ITC Zapf Chancery</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>TeX Gyre Chorus</string>
+ <string>URW Chancery L</string>
+ </edit>
+ </match>
+
+ <!-- Lucida {Bright||T OT} => Linux Libertine -->
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Bright</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Linux Libertine O</string>
+ <string>Linux Libertine T</string>
+ <string>Linux Libertine</string>
+ <string>Liberation Serif</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Bright</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Linux Libertine O</string>
+ <string>Linux Libertine T</string>
+ <string>Linux Libertine</string>
+ <string>Liberation Serif</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida T OT</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Linux Libertine O</string>
+ <string>Linux Libertine T</string>
+ <string>Linux Libertine</string>
+ <string>Liberation Serif</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida T OT</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Linux Libertine O</string>
+ <string>Linux Libertine T</string>
+ <string>Linux Libertine</string>
+ <string>Liberation Serif</string>
+ </edit>
+ </match>
+
+ <!-- Lucida {Calligraphy||Handwriting} => Quintessential -->
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Calligraphy</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Quintessential</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Calligraphy</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Quintessential</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Handwriting</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Quintessential</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Handwriting</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Quintessential</string>
+ </edit>
+ </match>
+
+ <!-- Lucida Casual => CantoraOne -->
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Casual</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>CantoraOne</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Casual</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>CantoraOne</string>
+ </edit>
+ </match>
+
+ <!-- Lucida Console => Droid Sans Mono -->
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Console</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Droid Sans Mono</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Console</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans Mono</string>
+ </edit>
+ </match>
+
+ <!-- Lucida Fax => Luxi Mono -->
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Fax</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Luxi Mono</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Fax</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Luxi Mono</string>
+ </edit>
+ </match>
+
+ <!-- Lucida Sans families => Droid Sans -->
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Grande</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Grande</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Sans</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Sans</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Sans T OT</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Sans T OT</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Sans Unicode</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Sans Unicode</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+
+ <!-- Lucida Sans Typewriter => Liberation Mono -->
+ <match target="pattern">
+ <test name="family">
+ <string>Lucida Sans Typewriter</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Liberation Mono</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Lucida Sans Typewriter</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Liberation Mono</string>
+ </edit>
+ </match>
+
+ <!-- Palatino {Linotype} => TeX Gyre Pagella || URW Palladio L -->
+ <match target="font">
+ <test name="family">
+ <string>Palatino</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Pagella</string>
+ <string>URW Palladio L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Palatino</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>TeX Gyre Pagella</string>
+ <string>URW Palladio L</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="family">
+ <string>Palatino Linotype</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>TeX Gyre Pagella</string>
+ <string>URW Palladio L</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Palatino Linotype</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Pagella</string>
+ <string>URW Palladio L</string>
+ </edit>
+ </match>
+
+ <!-- Segoe UI => WeblySleek UI || Noto Sans -->
+ <match target="pattern">
+ <test name="family">
+ <string>Segoe UI</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>WeblySleek UI</string>
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+ <match target="font">
+ <test name="family">
+ <string>Segoe UI</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>WeblySleek UI</string>
+ <string>Noto Sans</string>
+ </edit>
+ </match>
+
+ <!-- Symbol => Symbola -->
+ <match target="font">
+ <test name="family">
+ <string>Symbol</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Symbola</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Symbol</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Symbola</string>
+ </edit>
+ </match>
+
+ <!-- Tahoma => Luxi Sans || DejaVu Sans Condensed -->
+ <match target="font">
+ <test name="family">
+ <string>Tahoma</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Luxi Sans</string>
+ <string>DejaVu Sans Condensed</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Tahoma</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Luxi Sans</string>
+ <string>DejaVu Sans Condensed</string>
+ </edit>
+ </match>
+
+ <!-- Times {New Roman} => Liberation Serif || TeX Gyre Termes -->
+ <match target="font">
+ <test name="family">
+ <string>Times</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Liberation Serif</string>
+ <string>TeX Gyre Termes</string>
+ <string>Nimbus Roman No9 L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Times</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Liberation Serif</string>
+ <string>TeX Gyre Termes</string>
+ <string>Nimbus Roman No9 L</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Times New Roman</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Liberation Serif</string>
+ <string>TeX Gyre Termes</string>
+ <string>Nimbus Roman No9 L</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Times New Roman</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Liberation Serif</string>
+ <string>TeX Gyre Termes</string>
+ <string>Nimbus Roman No9 L</string>
+ </edit>
+ </match>
+
+ <!-- Trebuchet {MS} => Ubuntu -->
+ <match target="font">
+ <test name="family">
+ <string>Trebuchet MS</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Ubuntu</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Trebuchet MS</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Ubuntu</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Trebuchet</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Ubuntu</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Trebuchet</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Ubuntu</string>
+ </edit>
+ </match>
+
+ <!-- Verdana => DejaVu Sans -->
+ <match target="font">
+ <test name="family">
+ <string>Verdana</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>DejaVu Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Verdana</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>DejaVu Sans</string>
+ </edit>
+ </match>
+
+ <!-- Wingdings => Symbola -->
+ <match target="font">
+ <test name="family">
+ <string>Wingdings</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Symbola</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Wingdings</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong" >
+ <string>Symbola</string>
+ </edit>
+ </match>
+
+ <!-- #### MISC TYPEFACES #### -->
+
+ <!-- Andale Mono => DejaVu Sans Mono -->
+ <match target="font">
+ <test name="family">
+ <string>Andale Mono</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>DejaVu Sans Mono</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Andale Mono</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>DejaVu Sans Mono</string>
+ </edit>
+ </match>
+
+ <!-- Albertus => Linux Libertine -->
+ <match target="font">
+ <test name="family">
+ <string>Albertus</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Linux Libertine</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Albertus</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Linux Libertine</string>
+ </edit>
+ </match>
+
+ <!-- AntiqueOlive => Lato -->
+ <match target="font">
+ <test name="family">
+ <string>AntiqueOlive</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lato</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>AntiqueOlive</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Lato</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Antique-Olive</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lato</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Antique-Olive</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Lato</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Antique Olive</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lato</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Antique Olive</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Lato</string>
+ </edit>
+ </match>
+
+ <!-- AurulentSansRegular => Aurulent Sans -->
+ <match target="font">
+ <test name="family">
+ <string>AurulentSansRegular</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Aurulent Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>AurulentSansRegular</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Aurulent Sans</string>
+ </edit>
+ </match>
+
+ <!-- Adelle => PT Serif -->
+ <match target="font">
+ <test name="family">
+ <string>Adelle</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>PT Serif</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Adelle</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>PT Serif</string>
+ </edit>
+ </match>
+
+ <!-- Bitstream Vera => DejaVu -->
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Sans</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>DejaVu Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Bitstream Vera Sans</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>DejaVu Sans</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Serif</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>DejaVu Serif</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Bitstream Vera Serif</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>DejaVu Serif</string>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Sans Mono</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>DejaVu Sans Mono</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Bitstream Vera Sans Mono</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>DejaVu Sans Mono</string>
+ </edit>
+ </match>
+
+ <!-- Frutiger => Lato -->
+ <match target="font">
+ <test name="family">
+ <string>Frutiger</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Lato</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Frutiger</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Lato</string>
+ </edit>
+ </match>
+
+ <!-- Futura => TeX Gyre Adventor -->
+ <match target="font">
+ <test name="family">
+ <string>Futura</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>TeX Gyre Adventor</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Futura</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>TeX Gyre Adventor</string>
+ </edit>
+ </match>
+
+ <!-- Haettenschweiler => Oswald -->
+ <match target="font">
+ <test name="family">
+ <string>Haettenschweiler</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Oswald</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Haettenschweiler</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Oswald</string>
+ </edit>
+ </match>
+
+ <!-- Shanti => Droid Sans -->
+ <match target="font">
+ <test name="family">
+ <string>Shanti</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test name="family">
+ <string>Shanti</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Droid Sans</string>
+ </edit>
+ </match>
+
+</fontconfig>
diff --git a/45-urw-fonts-cyr.conf b/45-urw-fonts-cyr.conf
new file mode 100644
index 000000000000..604d5eedba41
--- /dev/null
+++ b/45-urw-fonts-cyr.conf
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Nimbus Mono L</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Nimbus Roman No9 L</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>Nimbus Sans L</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>URW Bookman L</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>URW Chancery L</family>
+ <default>
+ <family>cursive</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>URW Gothic L</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+
+ <alias>
+ <family>URW Palladio L</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/59-latin-cyr.conf b/59-latin-cyr.conf
new file mode 100644
index 000000000000..69477ebc7a91
--- /dev/null
+++ b/59-latin-cyr.conf
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <!-- ## Free default Latin type-faces. ## -->
+
+ <!-- ## serif ## -->
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Heuristica</family>
+ <family>Liberation Serif</family>
+ <family>Noto Serif</family>
+ <family>DejaVu Serif</family>
+ <family>Nimbus Roman No9 L</family>
+ </prefer>
+ </alias>
+ <!-- ## sans-serif ## -->
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Noto Sans</family>
+ <family>Liberation Sans</family>
+ <family>DejaVu Sans</family>
+ <family>Nimbus Sans L</family>
+ </prefer>
+ </alias>
+ <!-- ## monospace ## -->
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Liberation Mono</family>
+ <family>DejaVu Sans Mono</family>
+ <family>Nimbus Mono L</family>
+ <family>Courier</family>
+ </prefer>
+ </alias>
+ <!-- ## fantasy ## -->
+ <alias>
+ <family>fantasy</family>
+ <prefer>
+ <family>Signika</family>
+ </prefer>
+ </alias>
+ <!-- ## cursive ## -->
+ <alias>
+ <family>cursive</family>
+ <prefer>
+ <family>TeX Gyre Chorus</family>
+ <family>URW Chancery L</family>
+ <family>Quintessential</family>
+ </prefer>
+ </alias>
+
+</fontconfig>
diff --git a/90-non-tt-urw-fonts-cyr.conf b/90-non-tt-urw-fonts-cyr.conf
new file mode 100644
index 000000000000..f4d8d48bee5e
--- /dev/null
+++ b/90-non-tt-urw-fonts-cyr.conf
@@ -0,0 +1,167 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="family">
+ <string>Dingbats</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Nimbus Mono L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Nimbus Roman No9 L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Nimbus Sans L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>URW Bookman L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>URW Chancery L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>URW Gothic L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>URW Palladio L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Standard Symbols L</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+</fontconfig>
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..2207ddb6355a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Contributor: bohoomil <@zoho.com>
+
+pkgname=gsfonts-cyr
+pkgname_org=urw-fonts
+pkgver=2.4
+_fedorarel=17.fc20
+pkgrel=2
+pkgdesc='URW and Postscript core35 fonts with Cyrillic support'
+url='http://sourceforge.net/projects/gs-fonts/'
+arch=('any')
+license=('GPL2')
+makedepends=('rpmextract')
+depends=('fontconfig' 'xorg-font-utils')
+conflicts=('gsfonts' 't1-urw-fonts-ib' 't1-urw-fonts-cyr-ib')
+provides=('gsfonts' 't1-urw-fonts-ib' 't1-urw-fonts-cyr-ib')
+install=$pkgname.install
+source=("http://kojipkgs.fedoraproject.org/packages/${pkgname_org}/${pkgver}/${_fedorarel}/src/${pkgname_org}-${pkgver}-${_fedorarel}.src.rpm"
+ 29-metric-aliases-cyr.conf
+ 36-repl-global-cyr.conf
+ 45-urw-fonts-cyr.conf
+ 59-latin-cyr.conf
+ 90-non-tt-urw-fonts-cyr.conf
+ README_IB)
+sha1sums=('0066723d9cd086cfdaecc57f7b216545a50924dd'
+ '55d922471acee0cc3e2476c71a71deec5616cd5a'
+ 'e30b667954cb8e4a07810a1fcfd3c861b0289c8a'
+ '5f96002a53d4eddbd23c9b0991cc3c332b29e8c3'
+ 'b863decf687afd51bdc14150b1c2919611e878b1'
+ '9ec26822d826d9ca6efa11b4e7810d5c8a280101'
+ '03a20097452894cfe4d58c1f94cc5c46fe88a873')
+
+build() {
+ cd "${srcdir}"
+ rpmextract.sh "${pkgname_org}-${pkgver}-${_fedorarel}.src.rpm"
+ bsdtar xf *.tar.bz2
+}
+
+package() {
+ cd "${srcdir}"
+
+ install -m755 -d "${pkgdir}/usr/share/fonts/Type1"
+ install -m644 *.{pfb,pfm,afm} "${pkgdir}/usr/share/fonts/Type1"
+
+ # additional config files for infinality-bundle users
+ install -m755 -d "${pkgdir}/usr/share/doc/${pkgname}"
+ install -m644 "${srcdir}"/*.conf "${pkgdir}/usr/share/doc/${pkgname}"
+ install -m644 "${srcdir}"/README_IB "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
diff --git a/README_IB b/README_IB
new file mode 100644
index 000000000000..af421c9db153
--- /dev/null
+++ b/README_IB
@@ -0,0 +1,18 @@
+Note for infinality-bundle users
+================================
+
+gsfonts-cyr package can functionally replace either t1-urw-fonts-ib or
+t1-urw-fonts-cyr-ib. If used this way, you should create the following
+symbolic links to /etc/fonts/conf.d:
+
+ # cd /usr/share/gsfonts-cyr
+ # ln -s `pwd`/45-urw-fonts-cyr.conf /etc/fonts.conf.d/
+ # ln -s `pwd`/90-non-tt-urw-fonts-cyr.conf /etc/fonts/conf.d/
+
+Additionaly, if you are going to substitute proprietary fonts with Nimbus and
+URW families, you need to create symbolic links to all gsfonts-cyr fontconfig
+configuration files:
+
+ # cd /usr/share/doc/gsfonts-cyr
+ # for conf in `ls *.conf`; do ln -s `pwd`/"$conf" /etc/fonts/conf.d/; done
+
diff --git a/gsfonts-cyr.install b/gsfonts-cyr.install
new file mode 100644
index 000000000000..f15e9d048569
--- /dev/null
+++ b/gsfonts-cyr.install
@@ -0,0 +1,14 @@
+post_install() {
+ fc-cache -s > /dev/null
+ mkfontscale /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/Type1
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+