pdftex-1.40.0-alpha-20051221
http://sarovar.org/download.php/866/pdftex-1.40.0-alpha-20051208-20051221.di... http://sarovar.org/download.php/867/pdftex-1.40.0-alpha-20051221.tar.bz2 - has a large patch from Thanh - pdflastlink has been fixed - remove generated pdf in case of fatal error Have fun Martin -- http://www.tm.oneiros.de
On 21.12.2005 00:33, Martin Schröder wrote:
- has a large patch from Thanh
Very nice to see this included! Here is my bug collection for the new extensions: %----------------------------------------------------- % 1) "This can't happen (flushing)" with % kerning+expansion+ligatures: %----------------------------------------------------- \pdfadjustspacing=1 \pdffontexpand\font 20 20 4 autoexpand \pdfappendkern=1 \knaccode\font`i=100 \hsize10em foo fii foo foo foo foo %% but this works: %foo f{}ii foo foo foo foo \bye %----------------------------------------------------- %----------------------------------------------------- % 2) kerning will prevent hyphenation % (this is a major drawback, IMHO) %----------------------------------------------------- \showhyphens{pdftex} { \pdfprependkern=1 \knbccode\font`e=100 \showhyphens{pdftex} } { \pdfappendkern=1 \knaccode\font`e=100 \showhyphens{pdftex} } \bye %----------------------------------------------------- %----------------------------------------------------- % 3) no kerning before or after ligatures: %----------------------------------------------------- \pdfprependkern=1 \pdfappendkern=1 \def\setkn#1{% \knbccode\font #1 = 200\relax \knaccode\font #1 = 200\relax } \setkn{`a} \setkn{11} % ff \setkn{12} % fi \setkn{`z} afffiz\par a\char11 \char12 z \bye %----------------------------------------------------- %----------------------------------------------------- % 4) appending a kern prevents addititonal spacing: %----------------------------------------------------- \pdfadjustinterwordglue=1 \knbscode\font`\e=1000 The test \pdfappendkern=1 \knaccode\font`\e=1 The test \bye %----------------------------------------------------- That's it ;-) Best regards, Robert.
On 2005-12-21 14:03:57 +0100, w.m.l@gmx.net wrote:
On 21.12.2005 00:33, Martin Schröder wrote:
- has a large patch from Thanh
Very nice to see this included! Here is my bug collection for the new extensions:
All unfixed for now. :-( Best Martin -- http://www.tm.oneiros.de
On Wed, 21 Dec 2005 w.m.l@gmx.net wrote:
On 21.12.2005 00:33, Martin Schröder wrote:
- has a large patch from Thanh
Very nice to see this included! Here is my bug collection for the new extensions:
%----------------------------------------------------- % 1) "This can't happen (flushing)" with % kerning+expansion+ligatures: %----------------------------------------------------- \pdfadjustspacing=1 \pdffontexpand\font 20 20 4 autoexpand \pdfappendkern=1 \knaccode\font`i=100
\hsize10em foo fii foo foo foo foo %% but this works: %foo f{}ii foo foo foo foo \bye
FWIW, this happens in function do_subst_font(). But it starts with auto_expand_kern(), where the given kern indeed is appended to the i of "fi" and also to the 2nd "i". It seems as if at this time "fi" is not yet seen as a ligature. Then in do_subst_font() the "fi" is somehow already a ligature, and now the kern is part of the lig_ptr list (which is wrong). Then font(r) is recursively changed to 51, the expanded font number, and so the kern, which should not be in this list, gets the 51 as its type. But it must be 11 for a kern. Maybe a change should be that the kern does not end up in the lig_ptr list, but should come after the "fi" ligature. No idea, how. Regards, Hartmut
participants (3)
-
Hartmut Henkel
-
Martin Schröder
-
w.m.l@gmx.net