On Sat, Mar 07, 2009 at 09:07:14AM +0100, Jonas Petersson <[email protected]> 
wrote:
> Below is a simple fix that works for all PDFs I've had problems with.
> Basically, it traps the combination of two bad cases:
> 1) Space is represented by null.
> 2) getWordSpace returns zero.
> When this happens and the width of the current character (dx) is zero,
> I approximate a space with getFontSize/3.

This fix looks good- I'll add it to swftools' xpdf patch set.

Greetings

Matthias




Reply via email to