[pdftex] Reflowing text

Morten Høgholm moho01ab at student.cbs.dk
Thu Jan 27 18:18:18 CET 2005


On Thu, 27 Jan 2005 17:11:15 +0100, Hans Hagen <pragma at wxs.nl> wrote:

> some dtp programs or word processors write stings into the pdf as
>
>    (this is a string)
>
> they depend on the kerning in the font tables (if present)
>
> tex on the other hand applies (explicit) kerning,
>
>    (th) pdf code (i) pdf code (s) pdf code (a) ....
>
> and so, for a reflow acrobat needs to recompose the text (as it does for  
> the search engine); from what you say it looks like the reflow code is  
> rather dumb (contrary to the search code)

I've done a little testing now. It seems that when searching for a text  
string, Acrobat disregards kerns less than app 1.13bp, thus t\kern1.1bpest  
is still recognized as the word "test". The reflow algorithm on the other  
hand considers any kern an artifact instead of real content.

-- 
Morten Høgholm



More information about the pdftex mailing list