On Fri, Dec 19, 2008 at 11:37, Matthias Kramm <[email protected]> wrote:
> On Fri, Dec 19, 2008 at 06:10:25PM +0800, Fred <[email protected]> wrote:
>> I am not sure..I just launched the .ps in Adobe 9 distiller and I just
>> convert the attached PDF.
>
> Ah, ok, that explains it.
> Different postscript to PDF converter -> different PDF.
>
> So the issue is still open.
I've dug a bit deeper:
It seems that the useDrawChar() case is used wMode is off.
A few lines down I see a line that tries to specal handle space as '
', but in this case it appers as 0, so I have adjusted it to this:
if (n == 1 && (*p == ' ' || *p == 0)) {
However, the call to state->getWordSpace() still returns 0 as width,
so it doesn't help. :-(
Is there a better way to find the width of a space character?
/ Jonas