I've been testing out how 1.19.2 and CVS groff with input files in
various languages and encodings fed through preconv. Using the attached
troff output file generated by:

  zcat /usr/share/man/pl/man1/822-date.1.gz | ./src/preproc/preconv/preconv 
-eISO-8859-2 | ./test-groff -mandoc -Tutf8 -Z

... on a Debian system with manpages-pl installed and with CVS groff, I
found that 1.19.2's grotty correctly renders characters such as U+017C
and U+0105 (which appear as u007A_0307 and u0061_0328 respectively in
the troff output), but CVS's grotty displays these as only the base
character (z and a respectively). Characters not rendered as Unicode
composite characters, such as U+0107 => 'c, display correctly using both
versions of groff. The attached diff should demonstrate the problem
clearly.

Furthermore, running CVS's grotty with 1.19.2's fonts restores the
previous handling.

It seems as if this problem might be due to Unicode fonts. Is it
possible that libdriver doesn't know how to deal with composite
characters that aren't explicitly listed in the font definition?

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]
x T utf8
x res 240 24 40
x init
F -
p1
x font 1 R
f1
s10
V40
H0
md
DFd
t822
C\-
h24
tdate(1)
h552
tu
Cu007A_0307
h24
tytki
wh24
tdpkg
h528
t822
C\-
h24
tdate(1)
n40 0
V200
H0
x X devtag:.NH 1
x font 3 B
f3
V200
H0
tNAZWA
wh24
x X devtag:.eo.h
V200
H144
n40 0
f1
V240
H168
t822
C\-
h24
tdate
wh24
C\-
wh48
tdrukuje
wh24
tdat
Cu0065_0328
wh48
ti
wh24
tczas
wh24
tw
wh24
tformacie
wh24
tRFC822
n40 0
V320
H0
x X devtag:.NH 1
f3
V320
H0
tSK
C/L
h24
tADNIA
wh24
x X devtag:.eo.h
V320
H216
n40 0
V360
H168
t822
C\-
h24
tdate
n40 0
V440
H0
x X devtag:.NH 1
V440
H0
tOPIS
wh24
x X devtag:.eo.h
V440
H120
n40 0
V480
H168
t822
C\-
h24
tdate
wf1
h48
twy
Cu0073_0301
h24
twietla
wh48
tbie
Cu007A_0307
h24
Cu0061_0328
h24
tc
Cu0061_0328
wh72
tdat
Cu0065_0328
wh72
ti
wh48
tczas
wh24
tw
wh24
tformacie
wh24
topisywanym
wh24
tprzez
n40 0
V520
H168
tdokument
wh24
tRFC822.
wh24
tStrefa
wh24
tczasowa
wh24
tma
wh24
twarto
Cu0073_0301
h24
C'c
wh48
trekomendowan
Cu0061_0328
wh48
tprzez
wh24
tdokument
n40 0
V560
H168
tRFC1123.
n40 0
V640
H0
x X devtag:.NH 1
f3
V640
H0
tOPCJE
wh24
x X devtag:.eo.h
V640
H144
n40 0
V680
H168
t822
C\-
h24
tdate
wf1
h24
tnie
wh24
twymaga
wh24
tpodania
wh24
Cu007A_0307
h24
tadnej
wh24
topcji.
n40 0
V760
H0
x X devtag:.NH 1
f3
V760
H0
tB
C/L
h24
Cu0045_0328
h24
tDY
wh24
x X devtag:.eo.h
V760
H144
n40 0
f1
V800
H168
tTo
wh24
tpolecenie
wh24
tpowinno
wh24
tby
C'c
wh48
tcz
Cu0065_0328
h24
Cu0073_0301
h24
tci
Cu0061_0328
wh48
tpolecenia
wf3
h24
tdate
f1
t(1).
n40 0
V880
H0
x X devtag:.NH 1
f3
V880
H0
tZOBACZ
wh24
tTAK
Cu005A_0307
h24
tE
wh24
x X devtag:.eo.h
V880
H312
n40 0
x font 2 I
f2
V920
H168
tStandard
wh24
tfor
wh24
tthe
wh24
tFormat
wh24
tof
wh24
tARPA
wh24
tInternet
wh24
tText
wh24
tMessages
wf1
h24
t(RFC822),
n40 0
f2
V960
H168
tRequirements
wh48
tfor
wh48
tInternet
wh48
tHosts
wh24
C\-
h24
C\-
wh48
tApplication
wh24
tand
wh24
tSupport
wf1
h24
t(RFC1123)
n40 0
V1000
H168
tsekcja
wh24
t5.2.14,
n40 0
f3
V1040
H168
tdate
f1
t(1).
n40 0
V1120
H0
x X devtag:.NH 1
f3
V1120
H0
tAUTOR
wh24
x X devtag:.eo.h
V1120
H144
n40 0
V1160
H168
t822
C\-
h24
tdate
wf1
h24
toraz
wh24
tten
wh24
tpodr
Cu0065_0328
h24
tcznik
wh24
tnapisa
C/l
wh48
tIan
wh24
tJackson
wh24
ti
wh24
tudost
Cu0065_0328
h24
tpni
C/l
wh48
tjako
wh24
tpub
Chy
h24
n40 0
V1200
H168
tlic
wh24
tdomain.
n40 0
V1360
H0
tProjekt
wh24
tDebiana
h456
t2008
C\-
h24
t02
C\-
h24
t28
h552
t822
C\-
h24
tdate(1)
n40 0
x trailer
V1360
x stop
--- /tmp/822-date.pl.out.1      2006-08-09 02:27:04.000000000 +0100
+++ /tmp/822-date.pl.out.2      2006-08-09 02:27:08.000000000 +0100
@@ -1,32 +1,32 @@
-822−date(1)                       użytki dpkg                      822−date(1)
+822−date(1)                       uzytki dpkg                      822−date(1)
 
 
 
 NNAAZZWWAA
-       822−date − drukuje datę i czas w formacie RFC822
+       822−date − drukuje date i czas w formacie RFC822
 
 SSKKŁŁAADDNNIIAA
        882222−−ddaattee
 
 OOPPIISS
-       882222−−ddaattee  wyświetla  bieżącą  datę  i  czas w formacie 
opisywanym przez
-       dokument RFC822. Strefa czasowa ma wartość rekomendowaną przez dokument
+       882222−−ddaattee  wyswietla  biezaca  date  i  czas w formacie 
opisywanym przez
+       dokument RFC822. Strefa czasowa ma wartosć rekomendowana przez dokument
        RFC1123.
 
 OOPPCCJJEE
-       882222−−ddaattee nie wymaga podania żadnej opcji.
+       882222−−ddaattee nie wymaga podania zadnej opcji.
 
-BBŁŁĘĘDDYY
-       To polecenie powinno być częścią polecenia ddaattee(1).
+BBŁŁEEDDYY
+       To polecenie powinno być czescia polecenia ddaattee(1).
 
-ZZOOBBAACCZZ TTAAKKŻŻEE
+ZZOOBBAACCZZ TTAAKKZZEE
        _S_t_a_n_d_a_r_d _f_o_r _t_h_e _F_o_r_m_a_t _o_f 
_A_R_P_A _I_n_t_e_r_n_e_t _T_e_x_t _M_e_s_s_a_g_e_s 
(RFC822),
        _R_e_q_u_i_r_e_m_e_n_t_s  _f_o_r  
_I_n_t_e_r_n_e_t  _H_o_s_t_s _−_− 
_A_p_p_l_i_c_a_t_i_o_n _a_n_d _S_u_p_p_o_r_t (RFC1123)
        sekcja 5.2.14,
        ddaattee(1).
 
 AAUUTTOORR
-       882222−−ddaattee oraz ten podręcznik napisał Ian Jackson i 
udostępnił jako pub‐
+       882222−−ddaattee oraz ten podrecznik napisał Ian Jackson i 
udostepnił jako pub‐
        lic domain.
 
 
_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to