Export as PDF produces a pdf file that can not be displayed by AdobeReader

Started by mhx, November 12, 2010, 01:18:08 PM

Previous topic - Next topic

mhx

The function Export to PDF produced a PDF file that Adobe Reader can not display.

Environment:

  • os=Windows XP SP3
  • HippoEDIT=1.49.793
  • OS language=English
  • HippoEDIT language=English
  • AdobeReader=9.4.0

Steps:

  • HippoEDIT > open > somefile.vbs
  • Export to HTML > result=somefile.html > IE displays OK
  • Export to PDF > result=somefile.pdf > AdobeReader tries to open > AdobeReader display error message and 7 empty pages...




alex

Hi mhx,

welcome on forum.

I have tried with some example vbs file, on XP SP3, Adobe Reader 9.2.0.124 and it works without problems.
So I assume that the problem is not generic but depends or from content of your file or, maybe you do not have, Courier font installed (this very unrealistic). Can you please try with other files, if results are same? If yes, I need to have your file for analysis. Or maybe similar text with which I can recreate a bug. Send it to supportbox on hippoedit.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

mhx

Dear,

Retry:
On other XP SP3 machine,
with AdobeReader 8

Message Box 1=
An error exists on this page.
Acrobat may not display the page correctly.
Please contact the person who created the PDF document to correct the problem.


Message Box 2=
Wrong number of arguments for a setcolor operator.

Bye,
MHX

alex

Good, thanks. This give some ideas, but does not help to fix the issue.
And thanks for the example.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

alex

Hi MHX,

thanks for example and exported PDF! Because on my side with 1.49 everything generated correctly and I do not get an error message as by your export ...
After comparing both yours and mine pdf I found that difference is in decimal number formatting (which is used for color settings).
This is one example:

Yours:
0 0,574 0 rg(=) Tj
0 0 0 rg( ) Tj
0,5 0,5 0,5 rg("10.77.") Tj

Mine:

0.488 0.617 0.75 rg(=) Tj
0 0 0 rg( ) Tj
0 0.574 0 rg("10.77.") Tj

Probably difference in location settings.
I will debug this and will try to fix in new 1.49 beta.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]