Fixed encoding of German ps2pdf man page (bug #853764).
Resolves: rhbz#853764
This commit is contained in:
parent
068e7291ae
commit
8152b01886
@ -5,7 +5,7 @@ Summary: A PostScript interpreter and renderer
|
|||||||
Name: ghostscript
|
Name: ghostscript
|
||||||
Version: %{gs_ver}
|
Version: %{gs_ver}
|
||||||
|
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# Included CMap data is Redistributable, no modification permitted,
|
# Included CMap data is Redistributable, no modification permitted,
|
||||||
# see http://bugzilla.redhat.com/487510
|
# see http://bugzilla.redhat.com/487510
|
||||||
@ -144,7 +144,11 @@ from8859_1() {
|
|||||||
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
|
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
|
||||||
mv "${1}_" "$1"
|
mv "${1}_" "$1"
|
||||||
}
|
}
|
||||||
for i in man/de/*.1; do from8859_1 "$i"; done
|
for i in man/de/*.1; do
|
||||||
|
if [ "$(file --brief --mime-encoding "$i")" = iso-8859-1 ]; then
|
||||||
|
from8859_1 "$i"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# Convert ps files to UTF-8
|
# Convert ps files to UTF-8
|
||||||
for i in examples/cjk/gsc*.ps; do from8859_1 "$i"; done
|
for i in examples/cjk/gsc*.ps; do from8859_1 "$i"; done
|
||||||
@ -329,6 +333,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libgs.so
|
%{_libdir}/libgs.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 4 2012 Tim Waugh <twaugh@redhat.com> - 9.06-2
|
||||||
|
- Fixed encoding of German ps2pdf man page (bug #853764).
|
||||||
|
|
||||||
* Wed Aug 8 2012 Tim Waugh <twaugh@redhat.com> - 9.06-1
|
* Wed Aug 8 2012 Tim Waugh <twaugh@redhat.com> - 9.06-1
|
||||||
- 9.06.
|
- 9.06.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user