[scholarsfonts-cardo-fonts/f20] Add Bold and Italic styles
Parag Nemade
pnemade at fedoraproject.org
Fri Jan 16 08:56:32 UTC 2015
commit 30425bc589021ae966e024c0c067e88b9692b615
Author: Parag Nemade <pnemade at redhat.com>
Date: Fri Jan 16 14:26:52 2015 +0530
Add Bold and Italic styles
- Patch metrics for regular and bold so they work in LibreOffice and others
cardo104-metrics.patch | 36 ++++++++++++++++++++++++++++++++++++
scholarsfonts-cardo-fonts.spec | 19 +++++++++++++------
2 files changed, 49 insertions(+), 6 deletions(-)
---
diff --git a/cardo104-metrics.patch b/cardo104-metrics.patch
new file mode 100644
index 0000000..306f9a6
--- /dev/null
+++ b/cardo104-metrics.patch
@@ -0,0 +1,36 @@
+--- a/Cardo104s.ttx
++++ Cardo104s.ttx
+@@ -3875,8 +3875,8 @@
+ <hhea>
+ <tableVersion value="1.0"/>
+ <ascent value="1645"/>
+- <descent value="620"/>
+- <lineGap value="-399"/>
++ <descent value="-640"/>
++ <lineGap value="399"/>
+ <advanceWidthMax value="9778"/>
+ <minLeftSideBearing value="-1876"/>
+ <minRightSideBearing value="-1927"/>
+@@ -3949,9 +3949,9 @@
+ <fsFirstCharIndex value="32"/>
+ <fsLastCharIndex value="65533"/>
+ <sTypoAscender value="1645"/>
+- <sTypoDescender value="-620"/>
++ <sTypoDescender value="-640"/>
+ <sTypoLineGap value="399"/>
+- <usWinAscent value="2024"/>
++ <usWinAscent value="1645"/>
+ <usWinDescent value="640"/>
+ <ulCodePageRange1 value="00100000 00000000 00000000 10111011"/>
+ <ulCodePageRange2 value="01001101 00000000 00000000 00000000"/>
+--- a/Cardob101.ttx
++++ Cardob101.ttx
+@@ -3023,7 +3023,7 @@
+ <hhea>
+ <tableVersion value="1.0"/>
+ <ascent value="1984"/>
+- <descent value="640"/>
++ <descent value="-640"/>
+ <lineGap value="0"/>
+ <advanceWidthMax value="3276"/>
+ <minLeftSideBearing value="-1926"/>
diff --git a/scholarsfonts-cardo-fonts.spec b/scholarsfonts-cardo-fonts.spec
index 8b1df89..9d21d75 100644
--- a/scholarsfonts-cardo-fonts.spec
+++ b/scholarsfonts-cardo-fonts.spec
@@ -3,17 +3,17 @@
Name: %{fontname}-fonts
Version: 1.045
-Release: 6%{?dist}
+Release: 9%{?dist}
Summary: A font for scholarly use in classical and medieval languages
-Group: User Interface/X
License: OFL
URL: http://scholarsfonts.net/cardofnt.html
Source0: http://scholarsfonts.net/cardo104.zip
-Source1: %{name}-fontconfig.conf
+# Emailed to creator, 2015-01-13
+Patch1: cardo104-metrics.patch
BuildArch: noarch
-BuildRequires: fontpackages-devel
+BuildRequires: fontpackages-devel, fonttools
Requires: fontpackages-filesystem
Obsoletes: cardo-fonts < 0.099-1
@@ -31,12 +31,16 @@ Aldine 401).
%prep
%setup -q -c
+ttx Cardo104s.ttf Cardob101.ttf
+rm Cardo104s.ttf Cardob101.ttf
+%patch1
+ttx Cardo104s.ttx Cardob101.ttx
%build
%install
install -m 0755 -d %{buildroot}%{_fontdir}
-install -m 0644 -p Cardo104s.ttf %{buildroot}%{_fontdir}
+install -m 0644 -p Cardo104s.ttf Cardob101.ttf Cardoi99.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
@@ -47,10 +51,13 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%_font_pkg -f %{fontconf} *.ttf
-
%doc Manual104s.pdf
%changelog
+* Tue Jan 13 2015 Paul Flo Williams <paul at frixxon.co.uk> - 1.045-9
+- Add Bold and Italic styles
+- Patch metrics for regular and bold so they work in LibreOffice and others
+
* Tue Aug 27 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.045-6
- Resolves:rh#1000907:Enable auto-hinting in fontconfig file
More information about the fonts-bugs
mailing list