[sil-padauk-fonts] Resolves:rh#907330 - Fix the PostScript name in font files
paragn
paragn at fedoraproject.org
Wed Mar 13 09:18:15 UTC 2013
commit 690e20a4da7588a0aa44568bb3252e4209f04d22
Author: Parag Nemade <paragn at fedoraproject.org>
Date: Wed Mar 13 14:49:40 2013 +0530
Resolves:rh#907330 - Fix the PostScript name in font files
sil-padauk-fonts.spec | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/sil-padauk-fonts.spec b/sil-padauk-fonts.spec
index adae7fc..1c79652 100644
--- a/sil-padauk-fonts.spec
+++ b/sil-padauk-fonts.spec
@@ -10,7 +10,7 @@ The font is a smart font using a Graphite description.
Name: %{fontname}-fonts
Version: 2.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A font for Burmese and the Myanmar script
Group: User Interface/X
@@ -23,6 +23,7 @@ Source2: %{name}-book-fontconfig.conf
BuildArch: noarch
BuildRequires: fontpackages-devel
+BuildRequires: fonttools
Requires: fontpackages-filesystem
%description
@@ -47,7 +48,17 @@ Padauk Book family font.
sed -i 's/\r//' OFL.txt
%build
-# Nothing there
+# Following is needed to fix the postscript font name
+ttx *.ttf
+sed -i 's|ပိတောက်|Padauk|g' Padauk*.ttx
+
+sed -i 's|စာလုံးမဲ|Bold|g' Padauk*.ttx
+
+sed -i 's|စာအုပ်|Book|g' Padauk-book*.ttx
+rm *.ttf
+ttx Padauk*.ttx
+
+rm *.ttx
%install
@@ -70,6 +81,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf}-book.conf \
%changelog
+* Wed Mar 13 2013 Parag <paragn AT fedoraproject DOT org> - 2.8-4
+- Resolves:rh#907330 - Fix the PostScript name in font files
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the fonts-bugs
mailing list