From: Jie Luo <[EMAIL PROTECTED]> > Danai SAE-HAN (韓達耐) wrote: > > > > From: Jie Luo <[EMAIL PROTECTED]> > > > >>>> I following this mail > >>>> http://lists.ffii.org/pipermail/cjk/2005-September/001264.html and > >>>> create Unicode encoded real fonts and virtual GBK fonts. It seams > >>>> that I can't using two GBK fonts in the same document. Otherwise > >>>> pdflatex will produce "divide by zero" error. But It is ok with > >>>> gbsnlp and gkaimp fonts, and it is also ok with GBK encoded real > >>>> fonts. > >>>> > >>> This is a bug in pdftex, to be fixed in the next release I assume. > >>> See the pdftex mailing list for more. > >>> > >> Are you mean the bug describe in "[Cjk] Re: SGML output fails with > >> pdflatex"? I applied the patch given by Taco Hoekwater to tetex-3.0-p_1. > >> It does not help. > > > > Have a look at the following post in the same thread: > > http://lists.ffii.org/pipermail/cjk/2006-November/001797.html > > > > In it, Taco has provided another patch that *might* solve this issue. > > I don't have the pdfTeX source files, but if you do, could you try it > > out? > > > > If you want more technical stuff, check out the pdfTeX list: > > http://www.ntg.nl/pipermail/ntg-pdftex/2006-November/thread.html#2498 > > The patch you pointed out is just the one I > applied. I have tested pdflatex with the zzzz.tex, it works now. But > pdflatex still produce the "divied by zero" bug on my system with GB.tex > I attached on my previous mail. Maybe it related to the number of > virtual fonts, because when using gb2312 fonts every thing is ok.
Ah, sorry, I didn't notice your attachment. It works on my computer with GB, but not with GBK. Problem is that GBK uses C19, not C10. So I made a C19gbsn.fd file, but running latex on the file fails because MakeTeXPK is looking for "gbsnlp37", which I don't have (it only goes to plane nr.32) (I used UGB.sfd, not UGBK.sfd). So ATM I can't reproduce your error. I'm using CJK4.7.0 (like you) and teTeX3 on Debian/unstable. What distribution are you using? TeXlive2004? cTeX? Perhaps it's best to also send an email about your "divided by zero"-bug to the pdfTeX-devel mailing list, continuing the thread I mentioned before. Regards Danai SAE-HAN 韓達耐 -- 題目:《寓居吳興》 作者:曾几(1084-1166) 相對真成泣楚囚,遂無末策到神州。 但知繞樹如飛鵲,不解營巢似拙鳩。 江北江南猶斷絕,秋風秋雨敢淹留? 低回又作荊州夢,落日孤云始欲愁。 _______________________________________________ Cjk maillist - [email protected] http://lists.ffii.org/mailman/listinfo/cjk
