Hi, I changed the version back to 1.20a-rc3 as Martin suggested. Also a src tarball and djgpp binaries are avail. at http://vntex.sourceforge.net/private/thanh/pdftex/ This version fixes the problem Staszek reported with pdfelatex. Thanh
Hi, in pdftex as of teTeX 2.96.2 there seems to be a problem with reading pk fonts, e. g. \font\aaa xbmc10 at 10pt \aaa hi \bye (xbmc10.mf see pdfetex.web. BTW, this xbmc10.mf is missing in teTeX) I get "bad pk file, expected pre" from readchar() of pkin.c, but the xbmc10.600pk is ok, starting with preamble 247. The problem is somehow, that the check_preamble is true even after the 1st byte read, so that later in pk file read suddenly a preamble check is done. This has somehow to do with t3_glyph_num in writepk() of writet3.c. The kludge, which seems to work, is to have some boolean checkpreamble=true; at the begin of writepk(), and then have the while loop like: while (readchar(checkpreamble, &cd) != 0) { checkpreamble=false; so that the header is only checked once at start of file read. But this might cover some problem with t3_glyph_num... Regards Hartmut
yes I am aware of this problem. Someone posted a bugfix of bbox calculation (very long time ago). When I was digging my mail box containing pdftex bug reports, I found that post and applied without careful testing. My apology for that. 1.20a-rc3 no longer has this bug. Regards, Thanh On Wed, May 12, 2004 at 01:50:41AM +0200, Hartmut Henkel wrote:
Hi,
in pdftex as of teTeX 2.96.2 there seems to be a problem with reading pk fonts, e. g.
\font\aaa xbmc10 at 10pt \aaa hi \bye
(xbmc10.mf see pdfetex.web. BTW, this xbmc10.mf is missing in teTeX)
I get "bad pk file, expected pre" from readchar() of pkin.c, but the xbmc10.600pk is ok, starting with preamble 247. The problem is somehow, that the check_preamble is true even after the 1st byte read, so that later in pk file read suddenly a preamble check is done. This has somehow to do with t3_glyph_num in writepk() of writet3.c. The kludge, which seems to work, is to have some
boolean checkpreamble=true;
at the begin of writepk(), and then have the while loop like:
while (readchar(checkpreamble, &cd) != 0) { checkpreamble=false;
so that the header is only checked once at start of file read. But this might cover some problem with t3_glyph_num...
Regards Hartmut _______________________________________________ ntg-pdftex mailing list ntg-pdftex@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-pdftex
\font\aaa xbmc10 at 10pt \aaa hi \bye
Works for me now (using pdfeTeX, Version 3.141592-1.20a-rc3-2.1 as contained in teTeX-beta-2.96.3).
(xbmc10.mf see pdfetex.web. BTW, this xbmc10.mf is missing in teTeX)
No. It exists in texmf-dist/fonts/source/public/misc/xbmc10.mf Thomas
participants (3)
-
Hartmut Henkel
-
The Thanh Han
-
Thomas Esser