From f57def84b33991a5debd0c6a60359c290934c286 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 26 Jun 2023 10:34:59 +0300 Subject: [PATCH] import changed/i9/fontconfig-font-replacements-0.6-2.el9 --- SOURCES/36-repl-liberation-fonts.conf | 65 ++ SOURCES/37-repl-global-free.conf | 906 ++++++++++++++++++++++++ SOURCES/52-latin-free.conf | 58 ++ SOURCES/66-aliases-wine-free.conf | 46 ++ SPECS/fontconfig-font-replacements.spec | 116 +++ 5 files changed, 1191 insertions(+) create mode 100644 SOURCES/36-repl-liberation-fonts.conf create mode 100644 SOURCES/37-repl-global-free.conf create mode 100644 SOURCES/52-latin-free.conf create mode 100644 SOURCES/66-aliases-wine-free.conf create mode 100644 SPECS/fontconfig-font-replacements.spec diff --git a/SOURCES/36-repl-liberation-fonts.conf b/SOURCES/36-repl-liberation-fonts.conf new file mode 100644 index 0000000..7a7ca73 --- /dev/null +++ b/SOURCES/36-repl-liberation-fonts.conf @@ -0,0 +1,65 @@ + + + + + + + + + + Liberation Mono + + + Cousine + + + + + Liberation Mono + + + Cousine + + + + + + + Liberation Sans + + + Arimo + + + + + Liberation Sans + + + Arimo + + + + + + + Liberation Serif + + + Tinos + + + + + Liberation Serif + + + Tinos + + + + diff --git a/SOURCES/37-repl-global-free.conf b/SOURCES/37-repl-global-free.conf new file mode 100644 index 0000000..18cf2ba --- /dev/null +++ b/SOURCES/37-repl-global-free.conf @@ -0,0 +1,906 @@ + + + + + + + + + + Arial + + + Arimo + Liberation Sans + + + + + Arial + + + Arimo + Liberation Sans + + + + + + + Arial Black + + + Archivo Black + + + + + Arial Black + + + Archivo Black + + + + + + + Arial Narrow + + + Liberation Sans Narrow + Nimbus Sans Narrow + + + + + Arial Narrow + + + Liberation Sans Narrow + Nimbus Sans Narrow + + + + + + + Baskerville + + + Libre Baskerville + + + + + Baskerville + + + Libre Baskerville + + + + + + + Calibri + + + Carlito + + + + + Calibri + + + Carlito + + + + + + + Cambria + + + Caladea + + + + + Cambria + + + Caladea + + + + + + + Candara + + + Linux Biolinum O + Linux Biolinum T + Linux Biolinum + + + + + Candara + + + Linux Biolinum O + Linux Biolinum T + Linux Biolinum + + + + + + + Comic Sans MS + + + Komika Text + Signika + Comic Relief + + + + + Comic Sans MS + + + Komika Text + Signika + Comic Relief + + + + + + + Consolas + + + Fira Mono + Cousine + Noto Mono + + + + + Consolas + + + Fira Mono + Cousine + Noto Mono + + + + + + + Constantia + + + Merriweather + + + + + Constantia + + + Merriweather + + + + + + + Corbel + + + Merriweather Sans + + + + + Corbel + + + Merriweather Sans + + + + + + + Courier + + + Courier Prime + TeX Gyre Cursor + Nimbus Mono + + + + + Courier + + + Courier Prime + TeX Gyre Cursor + Nimbus Mono + + + + + + Courier New + + + Courier Prime + TeX Gyre Cursor + Nimbus Mono + + + + + Courier New + + + Courier Prime + TeX Gyre Cursor + Nimbus Mono + + + + + + Courier 10 Pitch + + + Courier Prime + TeX Gyre Cursor + Nimbus Mono + + + + + Courier 10 Pitch + + + Courier Prime + TeX Gyre Cursor + Nimbus Mono + + + + + + + Garamond + + + Cormorant Garamond + + + + + Garamond + + + Cormorant Garamond + + + + + + Adobe Garamond Pro + + + Cormorant Garamond + + + + + Adobe Garamond Pro + + + Cormorant Garamond + + + + + + ITC Garamond + + + Cormorant Garamond + + + + + ITC Garamond + + + Cormorant Garamond + + + + + + Stempel Garamond + + + Cormorant Garamond + + + + + Stempel Garamond + + + Cormorant Garamond + + + + + + @font-face:Garamond Classic FS + + + Cormorant Garamond + + + + + @font-face:Garamond Classic FS + + + Cormorant Garamond + + + + + + + Geneva + + + Noto Sans + + + + + Geneva + + + Noto Sans + + + + + + + Georgia + + + Gelasio + + + + + Georgia + + + Gelasio + + + + + + + Gill Sans + + + Lato + Cabin + Noto Sans + + + + + Gill Sans + + + Lato + Cabin + Noto Sans + + + + + + Gill Sans MT + + + Lato + Cabin + Noto Sans + + + + + Gill Sans MT + + + Lato + Cabin + Noto Sans + + + + + + + Helvetica + + + Arimo + Liberation Sans + TeX Gyre Heros + Nimbus Sans + + + + + Helvetica + + + Arimo + Liberation Sans + TeX Gyre Heros + Nimbus Sans + + + + + + + Helvetica Condensed + + + Liberation Sans Narrow + TeX Gyre Heros Cn + Nimbus Sans Narrow + + + + + Helvetica Condensed + + + Liberation Sans Narrow + TeX Gyre Heros Cn + Nimbus Sans Narrow + + + + + + + Helvetica Neue + + + Source Sans Pro + Noto Sans + Open Sans + Arimo + + + + + Helvetica Neue + + + Source Sans Pro + Noto Sans + Open Sans + Arimo + + + + + + + Impact + + + Passion One + + + + + Impact + + + Passion One + + + + + + + Lucida Console + + + Fira Mono + Cousine + + + + + Lucida Console + + + Fira Mono + Cousine + + + + + + + Lucida + + + Source Sans Pro + Noto Sans + + + + + Lucida + + + Source Sans Pro + Noto Sans + + + + + + Lucida Grande + + + Source Sans Pro + Noto Sans + + + + + Lucida Grande + + + Source Sans Pro + Noto Sans + + + + + + Lucida Sans + + + Source Sans Pro + Noto Sans + + + + + Lucida Sans + + + Source Sans Pro + Noto Sans + + + + + + Lucida Sans T OT + + + Source Sans Pro + Noto Sans + + + + + Lucida Sans T OT + + + Source Sans Pro + Noto Sans + + + + + + Lucida Sans Unicode + + + Source Sans Pro + Noto Sans + + + + + Lucida Sans Unicode + + + Source Sans Pro + Noto Sans + + + + + + + Menlo + + + Cousine + Noto Mono + + + + + Menlo + + + Cousine + Noto Mono + + + + + + + Symbol + + + Open Symbol + Symbola + + + + + Symbol + + + Open Symbol + Symbola + + + + + + + Tahoma + + + Roboto + + + + + Tahoma + + + Roboto + + + + + + + Times + + + Tinos + Liberation Serif + TeX Gyre Termes + Nimbus Roman + + + + + Times + + + Tinos + Liberation Serif + TeX Gyre Termes + Nimbus Roman + + + + + + Times New Roman + + + Tinos + Liberation Serif + TeX Gyre Termes + Nimbus Roman + + + + + Times New Roman + + + Tinos + Liberation Serif + TeX Gyre Termes + Nimbus Roman + + + + + + + Trebuchet MS + + + Fira Sans + + + + + Trebuchet MS + + + Fira Sans + + + + + + Trebuchet + + + Fira Sans + + + + + Trebuchet + + + Fira Sans + + + + + + + Verdana + + + Noto Sans + Open Sans + DejaVu Sans + + + + + Verdana + + + Noto Sans + Open Sans + DejaVu Sans + + + + + + + Wingdings + + + Open Symbol + Symbola + + + + + Wingdings + + + Open Symbol + Symbola + + + + + + + Bitstream Vera Sans + + + DejaVu Sans + + + + + Bitstream Vera Sans + + + DejaVu Sans + + + + + + Bitstream Vera Serif + + + DejaVu Serif + + + + + Bitstream Vera Serif + + + DejaVu Serif + + + + + + Bitstream Vera Sans Mono + + + DejaVu Sans Mono + + + + + Bitstream Vera Sans Mono + + + DejaVu Sans Mono + + + + + + + Andale Mono + + + Cousine + + + + + Andale Mono + + + Cousine + + + + diff --git a/SOURCES/52-latin-free.conf b/SOURCES/52-latin-free.conf new file mode 100644 index 0000000..a9c15bb --- /dev/null +++ b/SOURCES/52-latin-free.conf @@ -0,0 +1,58 @@ + + + + + + + + + serif + + Noto Serif + DejaVu Serif + Tinos + Liberation Serif + Nimbus Roman + + + + + sans-serif + + Noto Sans + Arimo + Liberation Sans + DejaVu Sans + Nimbus Sans + Open Sans + + + + + monospace + + Cousine + DejaVu Sans Mono + Noto Mono + Nimbus Mono + Liberation Mono + Courier + + + + + fantasy + + Passion One + + + + + cursive + + Komika Sans + Signika + + + + diff --git a/SOURCES/66-aliases-wine-free.conf b/SOURCES/66-aliases-wine-free.conf new file mode 100644 index 0000000..ce58225 --- /dev/null +++ b/SOURCES/66-aliases-wine-free.conf @@ -0,0 +1,46 @@ + + + + + + + + + System + + Source Sans Pro + + + Source Sans Pro + + + + MS Shell Dlg + + Source Sans Pro + + + Source Sans Pro + + + + MS Shell Dlg 2 + + Source Sans Pro + + + Source Sans Pro + + + + MS Sans Serif + + Source Sans Pro + + + Source Sans Pro + + + + diff --git a/SPECS/fontconfig-font-replacements.spec b/SPECS/fontconfig-font-replacements.spec new file mode 100644 index 0000000..9d6192a --- /dev/null +++ b/SPECS/fontconfig-font-replacements.spec @@ -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 - 0.6-2 +- Add Open Sans as requirement + +* Fri Oct 30 2020 Dawid Zych - 0.6-1 +- Use Merriweather fonts from Fedora repo +- Replace EB Garamond with Cormorant Garamond + +* Wed Aug 28 2019 Dawid Zych - 0.5-2 +- Remove liberation-narrow-fonts from Fedora 30+ + +* Fri Apr 13 2018 Dawid Zych - 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 - 0.4-2 +- Update version + +* Thu Apr 12 2018 Dawid Zych - 0.4-1 +- Replace SymbolNeu with Open Symbol +- Fix package versioning + +* Fri Apr 05 2018 Dawid Zych - 0.1-1 +- Replace cabin with lato + +* Wed Jan 11 2017 Dawid Zych - 0.003-1 +- Update font replacement rules + +* Wed Jan 11 2017 Dawid Zych - 0.002-1 +- Set monospace font to Source Code Pro +- Add fantasy and cursive default fonts + +* Thu Jan 05 2017 Dawid Zych - 0.001-1 +- Initial packaging.