swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] [Fix attached] Spaces disappear for some pdfs


From: Matthias Kramm
Subject: Re: [Swftools-common] [Fix attached] Spaces disappear for some pdfs
Date: Sun, 8 Mar 2009 17:20:20 +0100
User-agent: Mutt/1.5.6i

On Sat, Mar 07, 2009 at 09:07:14AM +0100, Jonas Petersson <address@hidden> 
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

[Prev in Thread] Current Thread [Next in Thread]