Accepting request 998721 from home:Pi-Cla:branches:M17N:fonts
fix: bsc#1202279 and gh#notofonts/Arimo#13 OBS-URL: https://build.opensuse.org/request/show/998721 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=55
This commit is contained in:
parent
a6e75b6e66
commit
d31587366a
30
fix-arimo.patch
Normal file
30
fix-arimo.patch
Normal file
@ -0,0 +1,30 @@
|
||||
--- ttf/Arimo/Arimo-BoldItalic.ttx 2022-08-22 15:32:43.920829321 -0600
|
||||
+++ ttf-patched/Arimo/Arimo-BoldItalic.ttx 2022-08-22 15:35:08.020159973 -0600
|
||||
@@ -3373,7 +3373,7 @@
|
||||
will be recalculated by the compiler -->
|
||||
<version value="4"/>
|
||||
<xAvgCharWidth value="1248"/>
|
||||
- <usWeightClass value="400"/>
|
||||
+ <usWeightClass value="700"/>
|
||||
<usWidthClass value="5"/>
|
||||
<fsType value="00000000 00000000"/>
|
||||
<ySubscriptXSize value="1331"/>
|
||||
@@ -90165,7 +90165,7 @@
|
||||
Arimo Bold
|
||||
</namerecord>
|
||||
<namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
|
||||
- Italic
|
||||
+ Bold Italic
|
||||
</namerecord>
|
||||
<namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
|
||||
1.33;GOOG;Arimo-BoldItalic
|
||||
@@ -90206,9 +90206,6 @@
|
||||
<namerecord nameID="16" platformID="3" platEncID="1" langID="0x409">
|
||||
Arimo
|
||||
</namerecord>
|
||||
- <namerecord nameID="17" platformID="3" platEncID="1" langID="0x409">
|
||||
- Bold Italic
|
||||
- </namerecord>
|
||||
</name>
|
||||
|
||||
<post>
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 21:57:20 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>
|
||||
|
||||
fix: bsc#1202279 and gh#notofonts/Arimo#13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 21 23:34:14 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>
|
||||
|
||||
|
@ -36,7 +36,9 @@ Source0: ttf.tar.gz
|
||||
Source1: generate-fonts-and-specfile.sh
|
||||
Source2: LICENSE
|
||||
Source3: README.FAQ
|
||||
Patch0: fix-arimo.patch
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: fonttools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
@ -2997,6 +2999,15 @@ TraditionalNushu font, hinted.
|
||||
|
||||
%prep
|
||||
tar -xzf %{SOURCE0} -C .
|
||||
|
||||
# Arimo BoldItalic has an extra "Italic" style
|
||||
# https://bugzilla.suse.com/show_bug.cgi?id=1202279 and https://github.com/notofonts/Arimo/issues/14
|
||||
# Fix weight too https://github.com/notofonts/Arimo/issues/13
|
||||
ttx ttf/Arimo/Arimo-BoldItalic.ttf
|
||||
%patch0
|
||||
ttx -f ttf/Arimo/Arimo-BoldItalic.ttx
|
||||
rm ttf/Arimo/Arimo-BoldItalic.ttx
|
||||
|
||||
cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
|
@ -36,7 +36,9 @@ Source0: ttf.tar.gz
|
||||
Source1: generate-fonts-and-specfile.sh
|
||||
Source2: LICENSE
|
||||
Source3: README.FAQ
|
||||
Patch0: fix-arimo.patch
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: fonttools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
@ -58,6 +60,15 @@ most noto fonts except for CJK and Emoji.
|
||||
@SUBPACKAGE_HEADERS@
|
||||
%prep
|
||||
tar -xzf %{SOURCE0} -C .
|
||||
|
||||
# Arimo BoldItalic has an extra "Italic" style
|
||||
# https://bugzilla.suse.com/show_bug.cgi?id=1202279 and https://github.com/notofonts/Arimo/issues/14
|
||||
# Fix weight too https://github.com/notofonts/Arimo/issues/13
|
||||
ttx ttf/Arimo/Arimo-BoldItalic.ttf
|
||||
%patch0
|
||||
ttx -f ttf/Arimo/Arimo-BoldItalic.ttx
|
||||
rm ttf/Arimo/Arimo-BoldItalic.ttx
|
||||
|
||||
cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
|
Loading…
x
Reference in New Issue
Block a user