[Top][All Lists]

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

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

From: Jonas Petersson
Subject: Re: [Swftools-common] Spaces disappear for some pdfs
Date: Fri, 19 Dec 2008 14:05:41 +0100

Ugly workaround snippet:

        if (n == 1 && (*p == ' ' || *p == 0)) {
                double w=state->getWordSpace();
                if (w==0)
                        w=state->getFontSize()/3; // Rough estimate of
a space...
                dx += w;

The result is not too far from what Fred sent. Until there is an
official xpdf fix I will live with this...

                                               Best / Jonas

reply via email to

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