[ANN] vector to pdf

Alejandro Tejada capellan2000 at yahoo.com
Fri Aug 6 15:19:22 EDT 2004


Jim Hurley wrote:

>Now after your triumph with "Vector to AI" and 
>a "Vector to PDF," what will you do for an encore? 
>Maybe "Vector to IPod?"

I do not have an IPod, but accept any mp3 player
from the participants of this list... ;-)

But, i do not feel too triumphant.
This is more a scratchy start, than a problem
solved. The pdf file BARELY opens in Acrobat. ;-))

>There is a problem with  "line" graphics with an open

>segment in the PDF converter.

>For example, a line graphic with following 
>points:

>139,109
>402,59
>476,242

>214,361
>65,244

>appears as if the open line were closed, i.e. as if
>the empty line were absent.

>Did I make myself clear?

Ah, yes. This is an exceptional case
that will require some new code to handle.

Thanks for pointing this, Jim!

It'll be needed to represent each segment as a 
new vector graphic.

I'll start working on this today, with the 
vector figures from the stack "Rotater". 

If you could add this code, Jim, then please do.
Probably you are working in the graphics for your
book and need this now or as soon as possible. 

If you need more specific help, then
write me off-list. I think that some custom code
to save a sequence of vector animation as : 
file01.pdf,file02.pdf,etc could be really useful
later on the road.

>I should have said: it appears closed in FreeHand.

>When I try to open it it Acrobat I get a error 
>message: "Too few operands."

I suspect that Acrobat is complaining about 
empty lines.

FreeHand uses a very relaxed interpretation of
pdf files, closely related to the way the program
"PackEdge" deals with pdf files, extracting only
the objects useful for screen representation.

Pierre Sahores wrote:

>Your "vector2pdf" stack works fine there under 
>both Panther 10.3.4 and Suse-Linux 8.2 Pro 
>(MC 2.5 in both cases).
>The exported PDF files opens OK under Apercu and 
>Acrobat Reader 6 (MacOS) and under Acrobat 5 (Linux).

Good news!!! :-))

>They don't open under KGhostView 0.13.2 / KDE 3.1.1 
>(Linux) and under Ghostscript 7.05.6 (Linux), witch 
>popups an error message saying that the file has a 
>corrupted "%EOF" marker or gaberage after the "%EOF".

An error message! This is as valuable as gold,
given that most readers do not returns useful
information when they found an error.

Probably there is two or more chars after "%EOF"
I bet they are linefeeds.

Roger.E.Eller wrote:

>"Vector to DXF" would make it possible to make CAD 
>compatible software. 

Actually, i do not have CAD software to test this
conversion. Is DXF written as ascii text?

>I imported "vector2pdf.pdf", and PackEdge 
>converted the color pallette 
>from RGB to CMYK because this program is 
>designed for commercial printing. 

Not only changed from rgb to cmyk, but it
literally rebuild the pdf around the objects.

This is a great pdf fixer application!

>Then I exported the file out 
>as "pdf2PackEdge2pdf.pdf". 

Thanks for sending this file.
Now I have 8 different pdf files from the
same set of vector graphics.

Actually, i have almost solved the ascii85
encoding issue.

More important is that i've found and
downloaded the pdf reference 1.1, 1.2, 
1.3, 1.4 and 1.5 from diverse websites.

First reference manual (1.1) is a must read
to understand the format.

Thanks to everyone for their feedback.
i'll keep you posted on fixes to this code.

al

=====
Visit my site:
http://www.geocities.com/capellan2000/


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


More information about the use-livecode mailing list