attempt to fix a space problem with several european languages (#137728)

This commit is contained in:
Miroslav Lichvar 2006-01-12 14:20:27 +00:00
parent f3dcd364eb
commit 4418b9abed
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- ./src/roff/troff/env.cc.orig 2006-01-12 14:43:05.000000000 +0100
+++ ./src/roff/troff/env.cc 2006-01-12 14:45:55.000000000 +0100
@@ -300,7 +300,7 @@
* This code is based on jgroff
* about kerning between ASCII and EUC-JP
*/
- if (!ci->get_wchar_code()) {
+ if (!ci->get_wchar_code() || wchar_code(ci->get_wchar_code()) < 0x590) {
/*
* This node is a ASCII character node.
*/

View File

@ -30,6 +30,7 @@ Patch19: groff-1.18.1.1-grn.patch
Patch20: groff-1.18.1.1-tempfile.patch
Patch21: groff-1.18.1.1-gcc41.patch
Patch22: groff-1.18.1.1-bigendian.patch
Patch23: groff-1.18.1.1-spacefix.patch
URL: ftp://ftp.gnu.org/gnu/groff/
Requires: mktemp
@ -96,6 +97,7 @@ System display.
%patch20 -p1 -b .tempfile
%patch21 -p1 -b .gcc41
%patch22 -p1 -b .bigendian
%patch23 -p1 -b .spacefix
for i in contrib/mm/{groff_mm,groff_mmse,mmroff}.man \
src/devices/grolbp/grolbp.man; do
@ -207,8 +209,10 @@ fi
%endif
%changelog
* Fri Jan 10 2006 Miroslav Lichvar <mlichvar@redhat.com> - 1.18.1.1-8
* Fri Jan 12 2006 Miroslav Lichvar <mlichvar@redhat.com> - 1.18.1.1-8
- fix segfault in grotty on 64-bit big endian machines (#176904)
- fix assertion failure on abort message (#141912)
- attempt to fix a space problem with several european languages (#137728)
* Fri Jan 06 2006 Jindrich Novy <jnovy@redhat.com> - 1.18.1.1-7
- require X dependencies only for gxditview (#177118)