[scholarsfonts-cardo-fonts] Add Bold and Italic styles

Parag Nemade pnemade at fedoraproject.org
Wed Jan 14 11:43:51 UTC 2015


commit 10d36cf1a832a402570d9d40075ab0cd2714f1c9
Author: Parag Nemade <pnemade at redhat.com>
Date:   Wed Jan 14 17:14:09 2015 +0530

    Add Bold and Italic styles
    
    - Patch metrics for regular and bold so they work in LibreOffice and others

 cardo104-metrics.patch         |   11 +++++++++++
 scholarsfonts-cardo-fonts.spec |    9 +++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/cardo104-metrics.patch b/cardo104-metrics.patch
index 34cb838..306f9a6 100644
--- a/cardo104-metrics.patch
+++ b/cardo104-metrics.patch
@@ -23,3 +23,14 @@
      <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 8c8f534..aefc2cc 100644
--- a/scholarsfonts-cardo-fonts.spec
+++ b/scholarsfonts-cardo-fonts.spec
@@ -33,16 +33,16 @@ Aldine 401).
 
 %prep
 %setup -q -c
-ttx Cardo104s.ttf
-rm Cardo104s.ttf
+ttx Cardo104s.ttf Cardob101.ttf
+rm Cardo104s.ttf Cardob101.ttf
 %patch1
-ttx Cardo104s.ttx
+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}
@@ -62,6 +62,7 @@ install -Dm 0644 -p %{SOURCE2} \
 
 %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
 
 * Thu Oct 16 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.045-8


More information about the fonts-bugs mailing list