Resolves:rh#907330 - Fix the PostScript name in font files

This commit is contained in:
Parag Nemade 2013-03-13 14:49:40 +05:30
parent 10ce41e0bb
commit 690e20a4da

View File

@ -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@lists.fedoraproject.org> - 2.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild