mirror of
https://codeberg.org/hyperreal/better_fonts
synced 2024-11-25 03:13:42 +01:00
Add
This commit is contained in:
commit
ac98835baf
6
.copr/Makefile
Normal file
6
.copr/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
srpm:
|
||||
dnf -y install wget
|
||||
find -type f -executable -exec {} \;
|
||||
cp -r ./* /builddir/build/SOURCES/
|
||||
rpmbuild -bs *.spec
|
||||
cp -r /builddir/build/SRPMS/* \$(outdir)
|
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
*.src.rpm
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.zip
|
||||
.build*
|
||||
results*
|
8
Makefile
Normal file
8
Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
clean:
|
||||
fd --no-ignore-vcs --type d results --exec rm -rf
|
||||
fd --no-ignore-vcs src.rpm --exec rm
|
||||
fd --no-ignore-vcs zip --exec rm
|
||||
fd --no-ignore-vcs tar.xz --exec rm
|
||||
fd --no-ignore-vcs tag.gz --exec rm
|
||||
fd --no-ignore-vcs --type f --hidden --regex '^\.build' --exec rm
|
||||
.PHONY: clean
|
49
README.md
Normal file
49
README.md
Normal file
@ -0,0 +1,49 @@
|
||||
# Better fonts for Fedora
|
||||
`fontconfig-font-replacements` provides free substitutions for popular
|
||||
proprietary fonts from Microsoft and Apple operating systems.
|
||||
|
||||
It makes your web browsing more aesthetically pleasing - you won't be seeing
|
||||
DejaVu Sans font on every damn webpage.
|
||||
|
||||
#### Subpixel (rgb) antialiasing
|
||||
Default for Fedora are slight hinting and grayscale antialiasing.
|
||||
Some people find subpixel antialiasing to look better - others can't stand
|
||||
color fringing caused by it. If you want to try it for yourself install
|
||||
`fontconfig-enhanced-defaults` package. You can also enable it manually
|
||||
in `Gnome Tweaks` or by running following command in terminal:
|
||||
|
||||
`dconf write /org/gnome/settings-daemon/plugins/xsettings/antialiasing "'rgba'"`
|
||||
|
||||
to change back to grayscale (default) antialiasing:
|
||||
|
||||
`dconf write /org/gnome/settings-daemon/plugins/xsettings/antialiasing "'grayscale'"`
|
||||
|
||||
|
||||
COPR repository: https://copr.fedorainfracloud.org/coprs/dawid/better_fonts/
|
||||
|
||||
## Installation instructons
|
||||
|
||||
1. Enable COPR repository:
|
||||
`sudo dnf copr enable dawid/better_fonts -y`
|
||||
2. Install packages:
|
||||
`sudo dnf install fontconfig-font-replacements -y`
|
||||
3. (Optional) Enable subpixel (rgb) antialiasing:
|
||||
`sudo dnf install fontconfig-enhanced-defaults -y`
|
||||
4. Log out and log in again or restart computer to see the effect
|
||||
|
||||
## Screenshots
|
||||
(probably outdated)
|
||||
|
||||
Before | After
|
||||
-------|------
|
||||
[Default fonts before](http://i.imgur.com/KOP6CDf.png) | [Default fonts after](http://i.imgur.com/RZXwkar.png)
|
||||
[Facebook before](http://i.imgur.com/D5RJrvH.png) | [Facebook after](http://i.imgur.com/jmT0efu.png)
|
||||
[Flask before](http://i.imgur.com/nEgNh81.png) | [Flask after](http://i.imgur.com/zKfIUEr.png)
|
||||
[LWN.net before](http://i.imgur.com/eA9LMz1.png) | [LWN.net after](http://i.imgur.com/Yk6W1fa.png)
|
||||
[NY Times before](http://i.imgur.com/jK0NqA8.png) | [NY Times after](http://i.imgur.com/kAuUv34.png)
|
||||
[Reddit before](http://i.imgur.com/br7smlN.png) | [Reddit after](http://i.imgur.com/K23nauA.png)
|
||||
[Wikipedia before](http://i.imgur.com/GnDv0np.png) | [Wikipedia after](http://i.imgur.com/QFdNfhd.png)
|
||||
|
||||
## Building locally
|
||||
|
||||
Check [build_instructions](build_instructions.md)
|
18
archivo-black-fonts/archivo-black-fontconfig.conf
Normal file
18
archivo-black-fonts/archivo-black-fontconfig.conf
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<alias>
|
||||
<family>Archivo Black</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Archivo Black</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
56
archivo-black-fonts/archivo-black-fonts.spec
Normal file
56
archivo-black-fonts/archivo-black-fonts.spec
Normal file
@ -0,0 +1,56 @@
|
||||
%global fontname archivo-black
|
||||
%global fontconf 64-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.001
|
||||
Release: 1%{?dist}
|
||||
Summary: Grotesque sans-serif typeface derived from Chivo. Black style
|
||||
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: https://omnibus-type.com/
|
||||
Source0: https://www.omnibus-type.com/wp-content/uploads/Archivo-Black.zip
|
||||
Source1: %{fontname}-fontconfig.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
Archivo from Omnibus-Type is a grotesque sans-serif typeface family
|
||||
derived from Chivo. Black style.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Archivo-Black
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p otf/*.otf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
cp -p OFL.txt LICENSE
|
||||
sed -i 's/\r$//' LICENSE
|
||||
|
||||
%_font_pkg -f %{fontconf} *.otf
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2020 Dawid Zych <dawid.zych@yandex.com> 1.001-1
|
||||
- Use otf version of the font
|
||||
- Bump version
|
||||
|
||||
* Wed Jan 11 2017 Dawid Zych <dawid.zych@yandex.com> 1.0004-2
|
||||
- Update fontconfig and it's priority.
|
||||
|
||||
* Thu Jan 05 2017 Dawid Zych <dawid.zych@yandex.com> 1.0004-1
|
||||
- Initial packaging.
|
41
build_instructions.md
Normal file
41
build_instructions.md
Normal file
@ -0,0 +1,41 @@
|
||||
# Build instructions
|
||||
|
||||
Download source packages:
|
||||
|
||||
spectool -g *.spec
|
||||
|
||||
... or if `get-font-name.sh` script exists:
|
||||
|
||||
./get-font-name.sh
|
||||
|
||||
Build package locally:
|
||||
|
||||
fedpkg --release f33 mockbuild
|
||||
|
||||
Build in copr:
|
||||
|
||||
copr build repo_name package_name.src.rpm
|
||||
|
||||
|
||||
# Useful commands
|
||||
|
||||
Check installed fonts:
|
||||
|
||||
rpm -q --whatrequires fontpackages-filesystem
|
||||
|
||||
Check what font is matched with given name:
|
||||
|
||||
fc-match font-name
|
||||
|
||||
Get font information (provided by texlive-lcdftypetools):
|
||||
|
||||
otfinfo --info fontname.ttf
|
||||
|
||||
Some fonts may not work because of FsType bit
|
||||
|
||||
ttembed -n fontname.ttf # to check
|
||||
ttembed fontname.ttf # to reset
|
||||
|
||||
# Other resources
|
||||
|
||||
[Creating RPM packages](https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/)
|
18
courier-prime-fonts/courier-prime-fontconfig.conf
Normal file
18
courier-prime-fonts/courier-prime-fontconfig.conf
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<alias>
|
||||
<family>Courier Prime</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Courier Prime</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
59
courier-prime-fonts/courier-prime-fonts.spec
Normal file
59
courier-prime-fonts/courier-prime-fonts.spec
Normal file
@ -0,0 +1,59 @@
|
||||
%global fontname courier-prime
|
||||
%global fontconf 61-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.203
|
||||
Release: 3%{?dist}
|
||||
Summary: A free, improved, classical monospaced typeface
|
||||
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: https://quoteunquoteapps.com/courierprime/
|
||||
Source0: https://quoteunquoteapps.com/courierprime/downloads/courier-prime.zip
|
||||
Source1: %{fontname}-fontconfig.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
Courier Prime is a TrueType monospaced font designed specifically
|
||||
for screenplays. It was designed by Alan Dague-Greene for John August
|
||||
and released by Quote-Unquote Apps under the SIL Open Font License (OFL).
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
cp -p 'Courier Prime'/*.ttf .
|
||||
cp -p 'Courier Prime'/LICENSE/OFL.txt LICENSE
|
||||
cp -p 'Courier Prime'/LICENSE/OFL-FAQ.txt LICENSE-FAQ
|
||||
cp -p 'Courier Prime'/'Read me.txt' .
|
||||
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
sed -i 's/\r$//' LICENSE-FAQ
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
%license LICENSE LICENSE-FAQ
|
||||
%doc "Read me.txt"
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2020 Dawid Zych <dawid.zych@yandex.com> - 1.203-3
|
||||
- Update download link.
|
||||
|
||||
* Wed Jan 11 2017 Dawid Zych <dawid.zych@yandex.com> - 1.203-2
|
||||
- Update fontconfig and it's priority.
|
||||
|
||||
* Thu Jan 05 2017 Dawid Zych <dawid.zych@yandex.com> - 1.203-1
|
||||
- Initial packaging.
|
@ -0,0 +1,3 @@
|
||||
[org.gnome.settings-daemon.plugins.xsettings]
|
||||
antialiasing='rgba'
|
||||
hinting='slight'
|
24
fontconfig-enhanced-defaults/19-enhanced-defaults.conf
Normal file
24
fontconfig-enhanced-defaults/19-enhanced-defaults.conf
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||
<fontconfig>
|
||||
<match target="font">
|
||||
<edit name="antialias" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="autohint" mode="assign">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
<edit name="hinting" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
<edit name="lcdfilter" mode="assign">
|
||||
<const>lcddefault</const>
|
||||
</edit>
|
||||
<edit name="rgba" mode="assign">
|
||||
<const>rgb</const>
|
||||
</edit>
|
||||
</match>
|
||||
</fontconfig>
|
@ -0,0 +1,68 @@
|
||||
Name: fontconfig-enhanced-defaults
|
||||
Version: 2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Enables slight hinting and subpixel (rgb) antialiasing
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: Public Domain
|
||||
URL: https://github.com/silenc3r/fedora-better-fonts
|
||||
Source0: 10_fontconfig-enhanced-defaults.gschema.override
|
||||
Source1: 19-enhanced-defaults.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
Requires: freetype
|
||||
|
||||
%description
|
||||
Font configuration files that enable subpixel rendering.
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/19-enhanced-defaults.conf
|
||||
ln -s %{_fontconfig_templatedir}/19-enhanced-defaults.conf \
|
||||
%{buildroot}%{_fontconfig_confdir}/19-enhanced-defaults.conf
|
||||
|
||||
ln -s %{_fontconfig_templatedir}/70-no-bitmaps.conf \
|
||||
%{buildroot}%{_fontconfig_confdir}/70-no-bitmaps.conf
|
||||
ln -s %{_fontconfig_templatedir}/10-sub-pixel-rgb.conf \
|
||||
%{buildroot}%{_fontconfig_confdir}/10-sub-pixel-rgb.conf
|
||||
ln -s %{_fontconfig_templatedir}/11-lcdfilter-default.conf \
|
||||
%{buildroot}%{_fontconfig_confdir}/11-lcdfilter-default.conf
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_datadir}/glib-2.0/schemas
|
||||
install -m 0644 -p %{SOURCE0} \
|
||||
%{buildroot}%{_datadir}/glib-2.0/schemas/10_org.fontconfig-enhanced-defaults.gschema.override
|
||||
|
||||
%files
|
||||
%{_fontconfig_templatedir}/*
|
||||
%{_fontconfig_confdir}/*
|
||||
%{_datadir}/glib-2.0/schemas/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 2.0-1
|
||||
- Enable the package again
|
||||
|
||||
* Fri Oct 30 2020 Dawid Zych <dawid.zych@yandex.com> - 1.0-1
|
||||
- Make it a dummy package
|
||||
|
||||
* Wed Aug 28 2019 Dawid Zych <dawid.zych@yandex.com> - 0.4.3
|
||||
- Drop support for Fedora < 29
|
||||
|
||||
* Tue Nov 06 2018 Dawid Zych <dawid.zych@yandex.com> - 0.4.2
|
||||
- Use stock Freetype on Fedora 29 and newer
|
||||
|
||||
* Fri Apr 06 2018 Dawid Zych <dawid.zych@yandex.com> - 0.4-1
|
||||
- Add enhanced-defaults.conf again just in case
|
||||
|
||||
* Thu Jan 18 2018 Dawid Zych <dawid.zych@yandex.com> - 0.3-1
|
||||
- Replace config file with symlinks to fontconfig configuration files
|
||||
|
||||
* Tue Jan 17 2017 Dawid Zych <dawid.zych@yandex.com> - 0.2-1
|
||||
- Fix font rendering in Java apps.
|
||||
|
||||
* Thu Jan 05 2017 Dawid Zych <dawid.zych@yandex.com> - 0.1-1
|
||||
- Initial packaging.
|
65
fontconfig-font-replacements/36-repl-liberation-fonts.conf
Normal file
65
fontconfig-font-replacements/36-repl-liberation-fonts.conf
Normal file
@ -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>
|
906
fontconfig-font-replacements/37-repl-global-free.conf
Normal file
906
fontconfig-font-replacements/37-repl-global-free.conf
Normal file
@ -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>
|
58
fontconfig-font-replacements/52-latin-free.conf
Normal file
58
fontconfig-font-replacements/52-latin-free.conf
Normal file
@ -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>
|
46
fontconfig-font-replacements/66-aliases-wine-free.conf
Normal file
46
fontconfig-font-replacements/66-aliases-wine-free.conf
Normal file
@ -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>
|
116
fontconfig-font-replacements/fontconfig-font-replacements.spec
Normal file
116
fontconfig-font-replacements/fontconfig-font-replacements.spec
Normal file
@ -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: 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.
|
18
gelasio-fonts/gelasio-fontconfig.conf
Normal file
18
gelasio-fonts/gelasio-fontconfig.conf
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<alias>
|
||||
<family>Gelasio</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Gelasio</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
59
gelasio-fonts/gelasio-fonts.spec
Normal file
59
gelasio-fonts/gelasio-fonts.spec
Normal file
@ -0,0 +1,59 @@
|
||||
%global fontname gelasio
|
||||
%global fontconf 62-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.006
|
||||
Release: 1%{?dist}
|
||||
Summary: Gelasio serif family by Eben Sorkin
|
||||
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: https://github.com/SorkinType/Gelasio
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: %{fontname}-fontconfig.conf
|
||||
Source2: get-%{fontname}.sh
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
Gelasio is designed to be metrics compatible with Georgia. Gelasio is
|
||||
a "Reale" or Transitional design with many style cues coming from the
|
||||
period immediately after the Romain du Roi type was introduced. Despite
|
||||
sharing common letter widths the texture and feeling of the two typefaces
|
||||
are different. Georgia is warmer and friendlier while Gelasio is cooler
|
||||
and more formal.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
mv OFL.txt LICENSE
|
||||
sed -i 's/\r$//' LICENSE
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2020 Dawid Zych <dawid.zych@yandex.com> - 1.006-1
|
||||
- Download font from Google Fonts
|
||||
|
||||
* Wed Jan 11 2017 Dawid Zych <dawid.zych@yandex.com> - 1.0-2
|
||||
- Update fontconfig and it's priority.
|
||||
|
||||
* Thu Jan 05 2017 Dawid Zych <dawid.zych@yandex.com> - 1.0-1
|
||||
- Initial packaging.
|
16
gelasio-fonts/get-gelasio.sh
Executable file
16
gelasio-fonts/get-gelasio.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Get upstream zip and make source tar.gz
|
||||
|
||||
ARCHIVE="gelasio-fonts-1.006"
|
||||
TMPDIR=$(mktemp -d --tmpdir=/var/tmp getgelasio-XXXXXXXXXX)
|
||||
[ $? != 0 ] && exit 1
|
||||
umask 022
|
||||
pushd "$TMPDIR"
|
||||
|
||||
wget -N -O $ARCHIVE.zip "https://fonts.google.com/download?family=Gelasio"
|
||||
unzip $ARCHIVE.zip -d $ARCHIVE
|
||||
tar -cvJf "$ARCHIVE.tar.xz" $ARCHIVE
|
||||
|
||||
popd
|
||||
mv "$TMPDIR/$ARCHIVE.tar.xz" .
|
||||
rm -fr "$TMPDIR"
|
@ -0,0 +1,17 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!-- SPDX-License-Identifier: MIT -->
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Libre Baskerville</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Libre Baskerville</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
@ -0,0 +1,56 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
%global forgeurl https://github.com/impallari/Libre-Baskerville
|
||||
%global commit 2fba7c8e0a8f53f86efd3d81bc4c63674b0c613f
|
||||
%forgemeta
|
||||
|
||||
Version: 1.000
|
||||
Release: 1%{?dist}
|
||||
URL: %{forgeurl}
|
||||
|
||||
%global foundry Impallari
|
||||
%global fontlicense OFL
|
||||
%global fontlicenses OFL.txt
|
||||
%global fontdocs *txt *md
|
||||
%global fontdocsex %{fontlicenses}
|
||||
|
||||
%global fontfamily Libre Baskerville
|
||||
%global fontsummary Libre Baskerville is a webfont family optimized for body text
|
||||
%global fonts *ttf
|
||||
%global fontconfs %{SOURCE10}
|
||||
%global fontpkgheader %{expand:
|
||||
Provides: libre-baskerville-fonts
|
||||
Obsoletes: libre-baskerville-fonts < 2
|
||||
}
|
||||
%global fontdescription %{expand:
|
||||
Libre Baskerville is a webfont family optimized for body text. It is
|
||||
Based on 1941 ATF Baskerville Specimens but it has a taller x-height,
|
||||
wider counters and less contrast that allow it to work on small sizes in
|
||||
any screen.
|
||||
|
||||
Libre Baskerville characters set covers 103 Latin languages.}
|
||||
Source0: %{forgesource}
|
||||
Source10: 61-%{fontpkgname}.conf
|
||||
|
||||
%fontpkg
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
%linuxtext *.txt
|
||||
|
||||
%build
|
||||
%fontbuild
|
||||
|
||||
%install
|
||||
%fontinstall
|
||||
|
||||
%check
|
||||
%fontcheck
|
||||
|
||||
%fontfiles
|
||||
|
||||
%defattr(644, root, root, 0755)
|
||||
%license OFL.txt
|
||||
|
||||
%changelog
|
||||
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 1.000-1
|
||||
- Initial packaging
|
17
itf-kalam-fonts/61-itf-kalam-fonts.conf
Normal file
17
itf-kalam-fonts/61-itf-kalam-fonts.conf
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!-- SPDX-License-Identifier: MIT -->
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>cursive</family>
|
||||
<prefer>
|
||||
<family>Kalam</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Kalam</family>
|
||||
<default>
|
||||
<family>cursive</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
65
itf-kalam-fonts/itf-kalam-fonts.spec
Normal file
65
itf-kalam-fonts/itf-kalam-fonts.spec
Normal file
@ -0,0 +1,65 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
%global forgeurl https://github.com/itfoundry/kalam
|
||||
%global commit 03a4d8a33849b1ad9afdee95006bc66d2d4aed94
|
||||
%forgemeta
|
||||
|
||||
Version: 2.001
|
||||
Release: 1%{?dist}
|
||||
URL: %{forgeurl}
|
||||
|
||||
%global foundry ITF
|
||||
%global fontlicense OFL
|
||||
%global fontdocs *md
|
||||
|
||||
%global fontfamily Kalam
|
||||
%global fontsummary Kalam is a handwriting-style typeface supporting the Devanagari and Latin scripts
|
||||
%global fonts build/*otf
|
||||
%global fontconfs %{SOURCE10}
|
||||
%global fontdescription %{expand:
|
||||
Kalam is a handwriting font family that supports the Devanagari and
|
||||
Latin writing systems. Even though Kalam's letterforms derive from
|
||||
handwriting, the fonts have each been optimized for text usage on
|
||||
screen. All in all, the typeface is a design that feels very personal.
|
||||
Like many informal handwriting-style fonts, it appears rather fresh and
|
||||
new when seen on screen or printed on the page.
|
||||
|
||||
Kalam's letterforms feature a very steep slant from the top right to the
|
||||
bottom left. They are similar to letters used in everyday handwriting,
|
||||
and look like they might have been written with either a thin felt-tip
|
||||
pen, or a ball-point pen. In the Devanagari letterforms, the
|
||||
knotted-terminals are open, but some other counter forms are closed.
|
||||
Features like these strengthen the feeling that text set in this
|
||||
typeface has been written very quickly, in a rapid manner.}
|
||||
|
||||
Source0: %{forgesource}
|
||||
Source10: 61-%{fontpkgname}.conf
|
||||
|
||||
%fontpkg
|
||||
|
||||
%package doc
|
||||
Summary: Optional documentation files of %{name}
|
||||
BuildArch: noarch
|
||||
%description doc
|
||||
This package provides optional documentation files shippend with
|
||||
%{name}.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
|
||||
%build
|
||||
%fontbuild
|
||||
|
||||
%install
|
||||
%fontinstall
|
||||
|
||||
%check
|
||||
%fontcheck
|
||||
|
||||
%fontfiles
|
||||
|
||||
%files doc
|
||||
%defattr(644, root, root, 0755)
|
||||
|
||||
%changelog
|
||||
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 2.001-1
|
||||
- Initial packaging
|
12
komika-text-fonts/komika-text-fontconfig.conf
Normal file
12
komika-text-fonts/komika-text-fontconfig.conf
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<alias>
|
||||
<family>Komika Text</family>
|
||||
<default>
|
||||
<family>cursive</family>
|
||||
</default>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
43
komika-text-fonts/komika-text-fonts.spec
Normal file
43
komika-text-fonts/komika-text-fonts.spec
Normal file
@ -0,0 +1,43 @@
|
||||
%global fontname komika-text
|
||||
%global fontconf 61-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Casual typeface similar to Comic Sans MS.
|
||||
Group: User Interface/X
|
||||
License: custom
|
||||
URL: https://www.fontsquirrel.com/fonts/Komika-Text
|
||||
Source0: https://www.fontsquirrel.com/fonts/download/Komika-Text
|
||||
Source1: %{fontname}-fontconfig.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
Casual typeface similar to Comic Sans MS.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
%license "Apostrophic Labs License.txt"
|
||||
|
||||
%changelog
|
||||
* Fri Apr 13 2018 Dawid Zych <dawid.zych@yandex.com> - 2.0-1
|
||||
- Initial packaging.
|
16
libre-baskerville-fonts/get-libre-baskerville.sh
Executable file
16
libre-baskerville-fonts/get-libre-baskerville.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Get upstream zip and make source tar.gz
|
||||
|
||||
ARCHIVE="libre-baskerville-fonts-1.0"
|
||||
TMPDIR=$(mktemp -d --tmpdir=/var/tmp getlibrebaskerville-XXXXXXXXXX)
|
||||
[ $? != 0 ] && exit 1
|
||||
umask 022
|
||||
pushd "$TMPDIR"
|
||||
|
||||
wget -N -O $ARCHIVE.zip https://fonts.google.com/download?family=Libre%20Baskerville
|
||||
unzip $ARCHIVE.zip -d $ARCHIVE
|
||||
tar -cvJf "$ARCHIVE.tar.xz" $ARCHIVE
|
||||
|
||||
popd
|
||||
mv "$TMPDIR/$ARCHIVE.tar.xz" .
|
||||
rm -fr "$TMPDIR"
|
18
libre-baskerville-fonts/libre-baskerville-fontconfig.conf
Normal file
18
libre-baskerville-fonts/libre-baskerville-fontconfig.conf
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<alias>
|
||||
<family>Libre Baskerville</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Libre Baskerville</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
57
libre-baskerville-fonts/libre-baskerville-fonts.spec
Normal file
57
libre-baskerville-fonts/libre-baskerville-fonts.spec
Normal file
@ -0,0 +1,57 @@
|
||||
%global fontname libre-baskerville
|
||||
%global fontconf 63-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.0
|
||||
Release: 3%{?dist}
|
||||
Summary: Libre Baskerville font designed by Pablo Impallari
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: https://fonts.google.com/specimen/Libre+Baskerville
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: %{fontname}-fontconfig.conf
|
||||
Source2: get-libre-baskerville.sh
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
Libre Baskerville is a web font optimized for body text (typically 16px.)
|
||||
It is based on the American Type Founder's Baskerville from 1941, but it
|
||||
has a taller x-height, wider counters and a little less contrast, that
|
||||
allow it to work well for reading on-screen.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
mv OFL.txt LICENSE
|
||||
sed -i 's/\r$//' LICENSE
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2020 Dawid Zych <dawid.zych@yandex.com> 1.0-3
|
||||
- Download font from Google Fonts (@paul)
|
||||
|
||||
* Wed Jan 11 2017 Dawid Zych <dawid.zych@yandex.com> 1.0-2
|
||||
- Update fontconfig and it's priority.
|
||||
|
||||
* Thu Jan 05 2017 Dawid Zych <dawid.zych@yandex.com> 1.0-1
|
||||
- Initial packaging.
|
49
notes
Normal file
49
notes
Normal file
@ -0,0 +1,49 @@
|
||||
Open Sans is sooo much better than Arimo
|
||||
- Open Sans and Noto Sans are pretty much indentical
|
||||
- Noto Sans has a bit thicker glyphs and less accents
|
||||
|
||||
Lucida Grande:
|
||||
Lucida Sans:
|
||||
Lucida Sans Unicode:
|
||||
- ???
|
||||
|
||||
Helvetica Neue:
|
||||
- Noto Sans
|
||||
|
||||
Comic Sans:
|
||||
- Calluna Sans
|
||||
- Kalam
|
||||
- Patrick Hand
|
||||
- Gloria Hallelujah
|
||||
- Indie Flower - really playful
|
||||
|
||||
- Handlee - no special chars
|
||||
- Schoolbell - nope
|
||||
|
||||
TODO:
|
||||
make list of MS fonts by type (serif, sans-serif)
|
||||
|
||||
|
||||
Tools:
|
||||
http://typographing.com
|
||||
|
||||
Android fonts:
|
||||
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/data/fonts/fonts.xml
|
||||
|
||||
Problems:
|
||||
https://blog.mozilla.org/nnethercote/2019/07/25/the-rust-compiler-is-still-getting-faster/
|
||||
|
||||
links:
|
||||
- https://blog.spoongraphics.co.uk/articles/the-best-free-alternatives-to-the-most-popular-fonts
|
||||
- http://www.designtheway.com/most-used-fonts-alternative-google-fonts/
|
||||
- https://eev.ee/blog/2015/05/20/i-stared-into-the-fontconfig-and-the-fontconfig-stared-back-at-me/
|
||||
|
||||
|
||||
nice looking sites:
|
||||
- http://news.harvard.edu/gazette/story/2017/04/over-nearly-80-years-harvard-study-has-been-showing-how-to-live-a-healthy-and-happy-life/
|
||||
Georgia usage:
|
||||
- https://josebrowne.com/on-coding-ego-and-attention/
|
||||
TeX Gyre Scholar Regular
|
||||
- http://jepsen.io/analyses/postgresql-12.3
|
||||
Cambria
|
||||
- https://www.forbes.com/sites/erikkain/2013/07/02/quake-iii-arena-bots-reportedly-stop-fighting-after-4-year-match/#5aab55076233
|
12
passion-one-fonts/passion-one-fontconfig.conf
Normal file
12
passion-one-fonts/passion-one-fontconfig.conf
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<alias>
|
||||
<family>Passion One</family>
|
||||
<default>
|
||||
<family>fantasy</family>
|
||||
</default>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
48
passion-one-fonts/passion-one-fonts.spec
Normal file
48
passion-one-fonts/passion-one-fonts.spec
Normal file
@ -0,0 +1,48 @@
|
||||
%global fontname passion-one
|
||||
%global fontconf 61-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.001
|
||||
Release: 1%{?dist}
|
||||
Summary: Passion One is a set of 3 display fonts aimed to composing titles in big sizes.
|
||||
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: https://fonts.google.com/specimen/Passion+One
|
||||
Source0: https://www.fontsquirrel.com/fonts/download/passion-one
|
||||
Source1: %{fontname}-fontconfig.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
Passion One is a set of 3 display fonts aimed to composing titles in
|
||||
big sizes. Its counterforms decrease as the passion increases! Please
|
||||
use them only for your most passionate thoughts and ideas.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
mv "SIL Open Font License.txt" LICENSE
|
||||
|
||||
%_font_pkg -f %{fontconf} *.otf
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Apr 12 2018 Dawid Zych <dawid.zych@yandex.com> - 1.001-1
|
||||
- Initial packaging.
|
@ -0,0 +1,17 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!-- SPDX-License-Identifier: MIT -->
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Courier Prime</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Courier Prime</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
@ -0,0 +1,67 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
%global forgeurl https://github.com/quoteunquoteapps/CourierPrime
|
||||
%global commit 7fd585a2dd4c1612c79b3308e300923d1c13df93
|
||||
%forgemeta
|
||||
|
||||
Version: 3.018
|
||||
Release: 1%{?dist}
|
||||
URL: https://quoteunquoteapps.com/courierprime/
|
||||
|
||||
%global foundry QuoteUnquoteApps
|
||||
%global fontlicense OFL
|
||||
%global fontlicenses OFL.txt
|
||||
%global fontdocs *txt *md
|
||||
%global fontdocsex %{fontlicenses} requirements.txt
|
||||
|
||||
%global fontfamily Courier Prime
|
||||
%global fontsummary A free, improved, classical monospaced typeface
|
||||
%global fonts fonts/ttf/*ttf
|
||||
%global fontconfs %{SOURCE10}
|
||||
%global fontpkgheader %{expand:
|
||||
Provides: courier-prime-fonts
|
||||
Obsoletes: courier-prime-fonts < %{version}-%{release}
|
||||
}
|
||||
%global fontdescription %{expand:
|
||||
Courier Prime is a new take on IBM's Courier which was designed in 1956
|
||||
by Howard Kettler.
|
||||
|
||||
It is a monospaced family, designed specifically for screenplays. Overall
|
||||
the family is more refined than its predecessor. The serifs are crisper
|
||||
and less rounded. The counters are subtly wider. The bold weight is a
|
||||
bit darker and the italics are more cursive.}
|
||||
|
||||
|
||||
Source0: %{forgesource}
|
||||
Source10: 61-%{fontpkgname}.conf
|
||||
|
||||
%fontpkg
|
||||
|
||||
%package doc
|
||||
Summary: Optional documentation files of %{name}
|
||||
BuildArch: noarch
|
||||
%description doc
|
||||
This package provides optional documentation files shippend with
|
||||
%{name}.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
%linuxtext *.txt
|
||||
|
||||
%build
|
||||
%fontbuild
|
||||
|
||||
%install
|
||||
%fontinstall
|
||||
|
||||
%check
|
||||
%fontcheck
|
||||
|
||||
%fontfiles
|
||||
|
||||
%files doc
|
||||
%defattr(644, root, root, 0755)
|
||||
%license OFL.txt
|
||||
|
||||
%changelog
|
||||
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 3.018-1
|
||||
- Initial packaging
|
17
sorkintype-gelasio-fonts/60-sorkintype-gelasio-fonts.conf
Normal file
17
sorkintype-gelasio-fonts/60-sorkintype-gelasio-fonts.conf
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!-- SPDX-License-Identifier: MIT -->
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Gelasio</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Gelasio</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
72
sorkintype-gelasio-fonts/sorkintype-gelasio-fonts.spec
Normal file
72
sorkintype-gelasio-fonts/sorkintype-gelasio-fonts.spec
Normal file
@ -0,0 +1,72 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
%global forgeurl https://github.com/SorkinType/Gelasio
|
||||
%global commit 45b816432931142b0bb78f5a968d3bd27b9e8d2f
|
||||
%forgemeta
|
||||
|
||||
Version: 1.006
|
||||
Release: 3%{?dist}
|
||||
URL: %{forgeurl}
|
||||
|
||||
%global foundry SorkinType
|
||||
%global fontlicense OFL
|
||||
%global fontlicenses OFL.txt
|
||||
%global fontdocs *txt *md
|
||||
%global fontdocsex %{fontlicenses} requirements.txt
|
||||
|
||||
%global fontfamily Gelasio
|
||||
%global fontsummary Gelasio is an original typeface which is metrics compatible with Georgia
|
||||
%global fonts fonts/ttf/*ttf
|
||||
%global fontconfs %{SOURCE10}
|
||||
%global fontpkgheader %{expand:
|
||||
Provides: gelasio-fonts
|
||||
Obsoletes: gelasio-fonts < %{version}-%{release}
|
||||
}
|
||||
%global fontdescription %{expand:
|
||||
Gelasio is an original typeface which is metrics compatible with Georgia
|
||||
in its Regular, Bold, Italic and Bold Italic weights. It supports the
|
||||
Google Fonts Latin Pro glyph set, enabling the typesetting of English,
|
||||
Western, Eastern and Southern European languages as well as Vietnamese
|
||||
and 130+ other languages.}
|
||||
|
||||
Source0: %{forgesource}
|
||||
Source10: 60-%{fontpkgname}.conf
|
||||
|
||||
%fontpkg
|
||||
|
||||
%package doc
|
||||
Summary: Optional documentation files of %{name}
|
||||
BuildArch: noarch
|
||||
%description doc
|
||||
This package provides optional documentation files shippend with
|
||||
%{name}.
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
%linuxtext *.txt
|
||||
|
||||
%build
|
||||
%fontbuild
|
||||
|
||||
%install
|
||||
%fontinstall
|
||||
|
||||
%check
|
||||
%fontcheck
|
||||
|
||||
%fontfiles
|
||||
|
||||
%files doc
|
||||
%defattr(644, root, root, 0755)
|
||||
%license OFL.txt
|
||||
%doc Test*Documents/*pdf
|
||||
|
||||
%changelog
|
||||
* Tue May 10 2022 Jeffrey Serio <hyperreal@fedoraproject.org> - 1.006-4
|
||||
- Change commit hash for sorkintype-gelasio-fonts.spec
|
||||
|
||||
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 1.006-3
|
||||
- Skip variable fonts
|
||||
- Add additional docs
|
||||
|
||||
* Mon Nov 02 2020 Dawid Zych <dawid.zych@yandex.com> - 1.006-2
|
||||
- Initial packaging
|
123
tests/default_fonts_test.html
Normal file
123
tests/default_fonts_test.html
Normal file
@ -0,0 +1,123 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>FONT TEST</title>
|
||||
</head>
|
||||
<body>
|
||||
<font style="font-family:'Arial'; font-size:16px">
|
||||
Arial: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Arial Black'; font-size:16px">
|
||||
Arial Black: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Arial Narrow'; font-size:16px">
|
||||
Arial Narrow: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Baskerville'; font-size:16px">
|
||||
Baskerville: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Calibri'; font-size:16px">
|
||||
Calibri: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Cambria'; font-size:16px">
|
||||
Cambria: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Candara'; font-size:16px">
|
||||
Candara: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Comic Sans MS'; font-size:16px">
|
||||
Comic Sans MS: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Consolas'; font-size:16px">
|
||||
Consolas: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Constantia'; font-size:16px">
|
||||
Constantia: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Corbel'; font-size:16px">
|
||||
Corbel: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Courier New'; font-size:16px">
|
||||
Courier New: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Garamond'; font-size:16px">
|
||||
Garamond: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Geneva'; font-size:16px">
|
||||
Geneva: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Georgia'; font-size:16px">
|
||||
Georgia: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Gill Sans'; font-size:16px">
|
||||
Gill Sans: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Helvetica'; font-size:16px">
|
||||
Helvetica: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Helvetica Condensed'; font-size:16px">
|
||||
Helvetica Condensed: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Helvetica Neue'; font-size:16px">
|
||||
Helvetica Neue: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Impact'; font-size:16px">
|
||||
Impact: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Liberation Mono'; font-size:16px">
|
||||
Liberation Mono: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Liberation Sans'; font-size:16px">
|
||||
Liberation Sans: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Liberation Serif'; font-size:16px">
|
||||
Liberation Serif: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Symbol'; font-size:16px">
|
||||
Symbol: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Tahoma'; font-size:16px">
|
||||
Tahoma: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Times New Roman'; font-size:16px">
|
||||
Times New Roman: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Trebuchet MS'; font-size:16px">
|
||||
Trebuchet MS: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Verdana'; font-size:16px">
|
||||
Verdana: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
<br />
|
||||
<font style="font-family:'Wingdings'; font-size:16px">
|
||||
Wingdings: The quick brown fox jumps over the lazy dog
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
30
tests/helvetica_test.html
Normal file
30
tests/helvetica_test.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>HELVETICA TEST</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td align="right">Arimo:</td>
|
||||
<td align="left"><font style="font-family:'Arimo'; font-size:16px">The quick brown fox jumps over the lazy dog 1234567890</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Clear Sans:</td>
|
||||
<td align="left"><font style="font-family:'Clear Sans'; font-size:16px">The quick brown fox jumps over the lazy dog 1234567890</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">TeX Gyre Heros:</td>
|
||||
<td align="left"><font style="font-family:'TeX Gyre Heros'; font-size:16px">The quick brown fox jumps over the lazy dog 1234567890</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Noto Sans:</td>
|
||||
<td align="left"><font style="font-family:'Noto Sans'; font-size:16px">The quick brown fox jumps over the lazy dog 1234567890</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Work Sans:</td>
|
||||
<td align="left"><font style="font-family:'Work Sans'; font-size:16px">The quick brown fox jumps over the lazy dog 1234567890</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
26
ubuntu-fonts/ubuntu-fontconfig.conf
Normal file
26
ubuntu-fonts/ubuntu-fontconfig.conf
Normal file
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<alias>
|
||||
<family>Ubuntu</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
|
||||
<alias>
|
||||
<family>Ubuntu Condensed</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
|
||||
<alias>
|
||||
<family>Ubuntu Mono</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
49
ubuntu-fonts/ubuntu-fonts.spec
Normal file
49
ubuntu-fonts/ubuntu-fonts.spec
Normal file
@ -0,0 +1,49 @@
|
||||
%global fontname ubuntu
|
||||
%global fontconf 61-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 0.83
|
||||
Release: 2%{?dist}
|
||||
Summary: Ubuntu font family
|
||||
|
||||
License: Ubuntu Font Licence 1.0
|
||||
URL: https://font.ubuntu.com/
|
||||
Source0: https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip
|
||||
Source1: %{fontname}-fontconfig.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
The new Ubuntu Font Family was started to enable the personality of Ubuntu
|
||||
to be seen and felt in every menu, button and dialog. The typeface is
|
||||
sans-serif, uses OpenType features and is manually hinted for clarity on
|
||||
desktop and mobile computing screens.
|
||||
|
||||
%prep
|
||||
%setup -q -n ubuntu-font-family-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
%_font_pkg -f *-%{fontname}.conf *.ttf
|
||||
%license LICENCE.txt LICENCE-FAQ.txt copyright.txt TRADEMARKS.txt
|
||||
%doc CONTRIBUTING.txt FONTLOG.txt README.txt
|
||||
|
||||
%changelog
|
||||
* Thu Oct 29 2020 Dawid Zych <dawid.zych@yandex.com> - 0.83-2
|
||||
- Fix broken symlink by @upanasiuk
|
||||
* Fri Jan 06 2017 Dawid Zych <dawid.zych@yandex.com> - 0.83-1
|
||||
- Initial packaging.
|
Loading…
Reference in New Issue
Block a user