import changed/i9/fontconfig-font-replacements-0.6-2.el9

i8ce changed/i9/fontconfig-font-replacements-0.6-2.el9
Arkady L. Shane 2 years ago
commit f57def84b3

@ -0,0 +1,65 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Replace Liberation fonts with ChromeOS fonts since Fedora
ships with very outdated version of Liberation fonts that
doesn't render well.
ChromiumOS fonts are basically updated versions of Liberation
fonts so there should be no visual difference -->
<!-- Liberation Mono => Cousine -->
<match target="font">
<test name="family">
<string>Liberation Mono</string>
</test>
<edit name="family" mode="assign">
<string>Cousine</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Liberation Mono</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Cousine</string>
</edit>
</match>
<!-- Liberation Sans => Arimo -->
<match target="font">
<test name="family">
<string>Liberation Sans</string>
</test>
<edit name="family" mode="assign">
<string>Arimo</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Liberation Sans</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Arimo</string>
</edit>
</match>
<!-- Liberation Serif => Tinos -->
<match target="font">
<test name="family">
<string>Liberation Serif</string>
</test>
<edit name="family" mode="assign">
<string>Tinos</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Liberation Serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Tinos</string>
</edit>
</match>
</fontconfig>

@ -0,0 +1,906 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ## Recommended free global replacements - free collection ## -->
<!-- Arial => Arimo -->
<match target="font">
<test name="family">
<string>Arial</string>
</test>
<edit name="family" mode="assign">
<string>Arimo</string>
<string>Liberation Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Arial</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Arimo</string>
<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 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 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>
<!-- Comic Sans MS => Komika Text -->
<match target="font">
<test name="family">
<string>Comic Sans MS</string>
</test>
<edit name="family" mode="assign">
<string>Komika Text</string>
<string>Signika</string>
<string>Comic Relief</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Comic Sans MS</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Komika Text</string>
<string>Signika</string>
<string>Comic Relief</string>
</edit>
</match>
<!-- Consolas => Fira Mono -->
<match target="font">
<test name="family">
<string>Consolas</string>
</test>
<edit name="family" mode="assign">
<string>Fira Mono</string>
<string>Cousine</string>
<string>Noto Mono</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Consolas</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Fira Mono</string>
<string>Cousine</string>
<string>Noto Mono</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 -->
<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</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</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</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</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</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</string>
</edit>
</match>
<!-- {Adobe||ITC||Stempel} Garamond {Pro} => Cormorant Garamond -->
<match target="font">
<test name="family">
<string>Garamond</string>
</test>
<edit name="family" mode="assign">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Garamond</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Adobe Garamond Pro</string>
</test>
<edit name="family" mode="assign">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Adobe Garamond Pro</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>ITC Garamond</string>
</test>
<edit name="family" mode="assign">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>ITC Garamond</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Stempel Garamond</string>
</test>
<edit name="family" mode="assign">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Stempel Garamond</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Cormorant Garamond</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>@font-face:Garamond Classic FS</string>
</test>
<edit name="family" mode="assign">
<string>Cormorant 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>Cormorant 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>Cabin</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>Cabin</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>Cabin</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>Cabin</string>
<string>Noto Sans</string>
</edit>
</match>
<!-- Helvetica => Arimo -->
<match target="font">
<test name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="assign">
<string>Arimo</string>
<string>Liberation Sans</string>
<string>TeX Gyre Heros</string>
<string>Nimbus Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Arimo</string>
<string>Liberation Sans</string>
<string>TeX Gyre Heros</string>
<string>Nimbus Sans</string>
</edit>
</match>
<!-- Helvetica Condensed => Liberation Sans Narrow -->
<match target="font">
<test name="family">
<string>Helvetica Condensed</string>
</test>
<edit name="family" mode="assign">
<string>Liberation Sans Narrow</string>
<string>TeX Gyre Heros Cn</string>
<string>Nimbus Sans Narrow</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Helvetica Condensed</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Liberation Sans Narrow</string>
<string>TeX Gyre Heros Cn</string>
<string>Nimbus Sans Narrow</string>
</edit>
</match>
<!-- Helvetica Neue => Source Sans Pro -->
<match target="font" >
<test name="family">
<string>Helvetica Neue</string>
</test>
<edit name="family" mode="assign">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
<string>Open Sans</string>
<string>Arimo</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Helvetica Neue</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
<string>Open Sans</string>
<string>Arimo</string>
</edit>
</match>
<!-- Impact => Passion One -->
<match target="font">
<test name="family">
<string>Impact</string>
</test>
<edit name="family" mode="assign">
<string>Passion One</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Impact</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Passion One</string>
</edit>
</match>
<!-- Lucida Console => Fira Mono -->
<match target="pattern">
<test name="family">
<string>Lucida Console</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Fira Mono</string>
<string>Cousine</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Lucida Console</string>
</test>
<edit name="family" mode="assign">
<string>Fira Mono</string>
<string>Cousine</string>
</edit>
</match>
<!-- Lucida Sans families => Source Sans Pro -->
<match target="pattern">
<test name="family">
<string>Lucida</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Lucida</string>
</test>
<edit name="family" mode="assign">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Lucida Grande</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Lucida Grande</string>
</test>
<edit name="family" mode="assign">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Lucida Sans</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Lucida Sans</string>
</test>
<edit name="family" mode="assign">
<string>Source Sans Pro</string>
<string>Noto 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>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Lucida Sans T OT</string>
</test>
<edit name="family" mode="assign">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Lucida Sans Unicode</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Lucida Sans Unicode</string>
</test>
<edit name="family" mode="assign">
<string>Source Sans Pro</string>
<string>Noto Sans</string>
</edit>
</match>
<!-- Menlo => Cousine -->
<match target="font">
<test name="family">
<string>Menlo</string>
</test>
<edit name="family" mode="assign">
<string>Cousine</string>
<string>Noto Mono</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Menlo</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Cousine</string>
<string>Noto Mono</string>
</edit>
</match>
<!-- Symbol => Open Symbol -->
<match target="font">
<test name="family">
<string>Symbol</string>
</test>
<edit name="family" mode="assign">
<string>Open Symbol</string>
<string>Symbola</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Symbol</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Open Symbol</string>
<string>Symbola</string>
</edit>
</match>
<!-- Tahoma => Roboto -->
<match target="font">
<test name="family">
<string>Tahoma</string>
</test>
<edit name="family" mode="assign">
<string>Roboto</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Tahoma</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Roboto</string>
</edit>
</match>
<!-- Times {New Roman} => Tinos -->
<match target="font">
<test name="family">
<string>Times</string>
</test>
<edit name="family" mode="assign">
<string>Tinos</string>
<string>Liberation Serif</string>
<string>TeX Gyre Termes</string>
<string>Nimbus Roman</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Times</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Tinos</string>
<string>Liberation Serif</string>
<string>TeX Gyre Termes</string>
<string>Nimbus Roman</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Times New Roman</string>
</test>
<edit name="family" mode="assign">
<string>Tinos</string>
<string>Liberation Serif</string>
<string>TeX Gyre Termes</string>
<string>Nimbus Roman</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Times New Roman</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Tinos</string>
<string>Liberation Serif</string>
<string>TeX Gyre Termes</string>
<string>Nimbus Roman</string>
</edit>
</match>
<!-- Trebuchet {MS} => Fira Sans -->
<match target="font">
<test name="family">
<string>Trebuchet MS</string>
</test>
<edit name="family" mode="assign">
<string>Fira Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Trebuchet MS</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Fira Sans</string>
</edit>
</match>
<match target="font">
<test name="family">
<string>Trebuchet</string>
</test>
<edit name="family" mode="assign">
<string>Fira Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Trebuchet</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Fira Sans</string>
</edit>
</match>
<!-- Verdana => Noto Sans -->
<match target="font">
<test name="family">
<string>Verdana</string>
</test>
<edit name="family" mode="assign">
<string>Noto Sans</string>
<string>Open Sans</string>
<string>DejaVu Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Verdana</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Noto Sans</string>
<string>Open Sans</string>
<string>DejaVu Sans</string>
</edit>
</match>
<!-- Wingdings => Open Symbol -->
<match target="font">
<test name="family">
<string>Wingdings</string>
</test>
<edit name="family" mode="assign">
<string>Open Symbol</string>
<string>Symbola</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Wingdings</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Open Symbol</string>
<string>Symbola</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>
<!-- Andale Mono => Cousine -->
<match target="font">
<test name="family">
<string>Andale Mono</string>
</test>
<edit name="family" mode="assign">
<string>Cousine</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>Andale Mono</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Cousine</string>
</edit>
</match>
</fontconfig>

@ -0,0 +1,58 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- ## Free default Latin type-faces. ## -->
<!-- ## serif ## -->
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>DejaVu Serif</family>
<family>Tinos</family>
<family>Liberation Serif</family>
<family>Nimbus Roman</family>
</prefer>
</alias>
<!-- ## sans-serif ## -->
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Arimo</family>
<family>Liberation Sans</family>
<family>DejaVu Sans</family>
<family>Nimbus Sans</family>
<family>Open Sans</family>
</prefer>
</alias>
<!-- ## monospace ## -->
<alias>
<family>monospace</family>
<prefer>
<family>Cousine</family>
<family>DejaVu Sans Mono</family>
<family>Noto Mono</family>
<family>Nimbus Mono</family>
<family>Liberation Mono</family>
<family>Courier</family>
</prefer>
</alias>
<!-- ## fantasy ## -->
<alias>
<family>fantasy</family>
<prefer>
<family>Passion One</family>
</prefer>
</alias>
<!-- ## cursive ## -->
<alias>
<family>cursive</family>
<prefer>
<family>Komika Sans</family>
<family>Signika</family>
</prefer>
</alias>
</fontconfig>

@ -0,0 +1,46 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ## Font families used by Wine ## -->
<!-- These MS aliases typically are used in user interfaces.
You will mostly run into fonts with these names in WINE programs. -->
<alias binding="same">
<family>System</family>
<accept>
<family>Source Sans Pro</family>
</accept>
<default>
<family>Source Sans Pro</family>
</default>
</alias>
<alias binding="same">
<family>MS Shell Dlg</family>
<accept>
<family>Source Sans Pro</family>
</accept>
<default>
<family>Source Sans Pro</family>
</default>
</alias>
<alias binding="same">
<family>MS Shell Dlg 2</family>
<accept>
<family>Source Sans Pro</family>
</accept>
<default>
<family>Source Sans Pro</family>
</default>
</alias>
<alias binding="same">
<family>MS Sans Serif</family>
<prefer>
<family>Source Sans Pro</family>
</prefer>
<default>
<family>Source Sans Pro</family>
</default>
</alias>
</fontconfig>

@ -0,0 +1,116 @@
Name: fontconfig-font-replacements
Version: 0.6
Release: 2%{?dist}
Summary: Font replacement rules for popular proprietary fonts.
Group: System Environment/Libraries
License: MIT
URL: https://github.com/silenc3r/fedora-better-fonts
Source0: 36-repl-liberation-fonts.conf
Source1: 37-repl-global-free.conf
Source2: 52-latin-free.conf
Source3: 66-aliases-wine-free.conf
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: adobe-source-code-pro-fonts
Requires: archivo-black-fonts
Requires: catharsis-cormorant-garamond-fonts
Requires: quoteunquoteapps-courier-prime-fonts
Requires: fontpackages-filesystem
Requires: gelasio-fonts
Requires: google-croscore-arimo-fonts
Requires: google-croscore-cousine-fonts
Requires: google-croscore-tinos-fonts
Requires: google-crosextra-caladea-fonts
Requires: google-crosextra-carlito-fonts
Requires: google-noto-sans-fonts
Requires: google-noto-serif-fonts
Requires: google-roboto-fonts
Requires: komika-text-fonts
Requires: lato-fonts
Requires: libre-baskerville-fonts
Requires: libreoffice-opensymbol-fonts
Requires: linux-libertine-biolinum-fonts
Requires: mozilla-fira-mono-fonts
Requires: mozilla-fira-sans-fonts
Requires: open-sans-fonts
Requires: passion-one-fonts
Requires: sorkintype-merriweather-fonts
Requires: sorkintype-merriweather-sans-fonts
%description
Font replacement rules for popular proprietary fonts. This includes
Microsoft TrueType Core Fonts, Microsoft ClearType Font Collection and
some others.
Based on Bohoomil's fontconfig ultimate.
%prep
%build
%install
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE0} \
%{buildroot}%{_fontconfig_templatedir}/36-repl-liberation-fonts.conf
ln -s %{_fontconfig_templatedir}/36-repl-liberation-fonts.conf \
%{buildroot}%{_fontconfig_confdir}/36-repl-liberation-fonts.conf
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/37-repl-global-free.conf
ln -s %{_fontconfig_templatedir}/37-repl-global-free.conf \
%{buildroot}%{_fontconfig_confdir}/37-repl-global-free.conf
install -m 0644 -p %{SOURCE2} \
%{buildroot}%{_fontconfig_templatedir}/52-latin-free.conf
ln -s %{_fontconfig_templatedir}/52-latin-free.conf \
%{buildroot}%{_fontconfig_confdir}/52-latin-free.conf
install -m 0644 -p %{SOURCE3} \
%{buildroot}%{_fontconfig_templatedir}/66-aliases-wine-free.conf
ln -s %{_fontconfig_templatedir}/66-aliases-wine-free.conf \
%{buildroot}%{_fontconfig_confdir}/66-aliases-wine-free.conf
%files
%{_fontconfig_confdir}/*
%{_fontconfig_templatedir}/*
%changelog
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 0.6-2
- Add Open Sans as requirement
* Fri Oct 30 2020 Dawid Zych <dawid.zych@yandex.com> - 0.6-1
- Use Merriweather fonts from Fedora repo
- Replace EB Garamond with Cormorant Garamond
* Wed Aug 28 2019 Dawid Zych <dawid.zych@yandex.com> - 0.5-2
- Remove liberation-narrow-fonts from Fedora 30+
* Fri Apr 13 2018 Dawid Zych <dawid.zych@yandex.com> - 0.5-1
- Remove some less common Lucida variants substitutions
- Substitute Lucida Console with Fira Mono
- Substitute Lucida Sans fonts with Source Code Pro
- Substitute Consolas with Fira Mono
- Substitute Helvetica Neue with Source Code Pro
- Substitute Menlo with Cousine
- Substitute Wingdings with Open Symbol
- Substitute Comic Sans MS with Komika Text
* Thu Apr 12 2018 Dawid Zych <dawid.zych@yandex.com> - 0.4-2
- Update version
* Thu Apr 12 2018 Dawid Zych <dawid.zych@yandex.com> - 0.4-1
- Replace SymbolNeu with Open Symbol
- Fix package versioning
* Fri Apr 05 2018 Dawid Zych <dawid.zych@yandex.com> - 0.1-1
- Replace cabin with lato
* Wed Jan 11 2017 Dawid Zych <dawid.zych@yandex.com> - 0.003-1
- Update font replacement rules
* Wed Jan 11 2017 Dawid Zych <dawid.zych@yandex.com> - 0.002-1
- Set monospace font to Source Code Pro
- Add fantasy and cursive default fonts
* Thu Jan 05 2017 Dawid Zych <dawid.zych@yandex.com> - 0.001-1
- Initial packaging.
Loading…
Cancel
Save