[XeTeX] e-TeX bugfix leads to bad Chinese linebreaking?

Jonathan Kew jonathan_kew at sil.org
Sun Mar 30 23:10:31 CEST 2008


I have added this to the bug tracker:

http://sourceforge.net/tracker/index.php? 
func=detail&aid=1929638&group_id=194926&atid=951385

Thanks,

JK

On 29 Mar 2008, at 8:14 am, Yin Dian wrote:

> Hi,
>
> Recently I found that XeTeX could not find proper line break point for
> Chinese texts with a narrow \hsize. After some investigation, I found
> that this probable bug was introduced after revision 579, where the
> e-TeX bugfix was merged. After I changed the corresponding lines in
> xetex.ch and etex.ch back just as in revision 578, the resulting
> output became as expected.
>
> The attachment shows a small example.  As you can see, when \hsize=3em
> the lines are expected to contain 3 Chinese characters normally, but
> after the opening quotation mark each line only contains 2 characters.
> Reverting the e-TeX bugfix back could generate the desired output.
>
> I don't know much about what the e-TeX bug was and why the bugfix
> behaves so differently. I hope anyone could explain this and come to a
> solution. Thanks in advance!
>
> Regards.
>
> -YIN Dian<etexbugtest.tex><etexbugtest-should- 
> be.pdf><etexbugtest.pdf>______________________________________________ 
> _
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex



More information about the XeTeX mailing list