Now we need to add text. That's the most useful part of a PDF, and the easiest. Also the hardest. Sometimes life is like that.
Continue reading ‘Creating PDFs with PHP, part 5: Text’ »
Thoughts on web design and programming from a very occasional volunteer webmaster
Now we need to add text. That's the most useful part of a PDF, and the easiest. Also the hardest. Sometimes life is like that.
Continue reading ‘Creating PDFs with PHP, part 5: Text’ »
Now that we can draw in our PDF, we want to add images. There are two kinds of images, bitmapped and vector. In PDF, images are called XObject
s (The X stands for external, meaning defined outside the page). Vector images are easier, since they are just packages of PDF drawing commands, a sort of macro. PDF calls them Form
s, since they were originally used to draw the boxes on a printed form.