![](https://secure.gravatar.com/avatar/72c2868ffed6dbe9c8ab1cc9709ef4ac.jpg?s=120&d=mm&r=g)
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.