Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Hans Ulrich Niedermann
9d4e93f7e1 Workaround wrong weight in Terminus.otb in fontconfig config file.
Resolves: rhbz#1823637

Backported from master aka f33.
2020-06-02 14:45:18 +02:00
2 changed files with 21 additions and 1 deletions

View file

@ -1,6 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- For a workaround to fix the weight property, until fonttosfnt works as expected -->
<match target="scan">
<test name="family">
<string>Terminus</string>
</test>
<test name="style">
<string>Regular</string>
</test>
<test name="weight">
<const>medium</const>
</test>
<edit name="weight" mode="assign">
<const>regular</const>
</edit>
</match>
<alias>
<family>monospace</family>
<prefer>

View file

@ -50,7 +50,7 @@ plus CRT VGA-bold for 8x14 and 8x16.
Name: %{fontname}-fonts
Version: 4.48
Release: 5%{?dist}
Release: 7%{?dist}
Summary: Clean fixed width font
# The source package also contains a few GPLv2+ build helper scripts.
@ -484,6 +484,10 @@ ln -s %{_fontdir} %{buildroot}%{catalog}/%{fontname}:unscaled
%changelog
* Tue Jun 2 2020 Akira TAGOH <tagoh@redhat.com> - 4.48-7
- Workaround wrong weight in Terminus.otb in fontconfig config file.
Resolves: rhbz#1823637
* Tue Apr 7 2020 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.48-5
- List *.otb files explicitly (without wildcards)
- Updated package descriptions and spec comments for more accuracy