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