New Forum | Previous | Next | (P-PDF) Developers
Topic: Vector graphics to PDF
Conf: (P-PDF) Developers, Msg: 114700
Date: 7/2/2004 12:50 PM
I want to create PDF files, and I'm drowning in information right now. I was hoping that someone out there can guide me to what I need to know.
At the moment I'm working on an illustration application, so the first thing I want to do is describe vector data in PDF.
Breaking the problem down, these are the things I need to know about:-
1. Overall file structure (in detail - what do I just copy out, and what bits do I need to change/generate).
2. Byte codes or strings required to describe vector graphics. Lines, bezier curves, fills etc.
3. How to deal with alpha (transparency) values and gradient fills (including gradient alphas).
4. Perhaps there's some open-source code that I can look at or modify. Any language will do, I'll extract what I need and convert the syntax, but I'm working in ActionScript for Central. So Java would be ideal.
5. By the way, program size is a consideration for me, so I don't want to push a huge and concise library around the Internet - just the bits that I want to use.
6. I also want to do text. I expect that PDF has no problem with me mixing text boxes with my graphics (sometimes behind it for example, possibly partially obscured), although I was told that .pdf doesn't support text justification? Is this true?
Can anyone give me any pointers?