Resolves:rh#847621 - better enabling autohinting by default

- Resolves:rh#847623 - fontconfig file isn't shipped in rpm
- Resolves:rh#847627 - Malformed fontconfig config file
This commit is contained in:
Parag Nemade 2012-08-14 23:32:47 +05:30
parent be0d3170b2
commit 5a38bde958
2 changed files with 35 additions and 6 deletions

View File

@ -12,11 +12,19 @@
<match>
<test name="lang">
<string>bo-cn</string>
<string>bo-in</string>
<string>bo</string>
<string>dz-bt</string>
<string>dz</string>
</test>
<test name="lang">
<string>bo-in</string>
</test>
<test name="lang">
<string>bo</string>
</test>
<test name="lang">
<string>dz-bt</string>
</test>
<test name="lang">
<string>dz</string>
</test>
<test name="family">
<string>serif</string>
</test>
@ -24,5 +32,13 @@
<string>Jomolhari</string>
</edit>
</match>
<match target="font">
<test name="family" ignore-blanks="yes">
<string>Jomolhari</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>

View File

@ -3,7 +3,7 @@
Name: %{fontname}-fonts
Version: 0.003
Release: 12%{?dist}
Release: 13%{?dist}
Summary: Jomolhari a Bhutanese style font for Tibetan and Dzongkha
Group: User Interface/X
@ -32,16 +32,29 @@ The font supports the standard combinations used in most texts.
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
for i in FONTLOG.txt OFL-FAQ.txt OFL.txt
do
tr -d '\r' < $i > ${i}.tmp
mv -f ${i}.tmp $i
done
%_font_pkg *.ttf
%_font_pkg -f 65-0-%{fontname}.conf *.ttf
%doc FONTLOG.txt OFL-FAQ.txt OFL.txt
%changelog
* Tue Aug 14 2012 Parag <pnemade AT redhat DOT com> - 0.003-13
- Resolves:rh#847621 - better enabling autohinting by default
- Resolves:rh#847623 - fontconfig file isn't shipped in rpm
- Resolves:rh#847627 - Malformed fontconfig config file
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild