You can also look at the source code of 0.3.3 for how PDF export used to work before I added in support for text annotations. If you diff xo-print.c from 0.3.3 to 0.4.2.1, it splits pretty neatly between fairly small (but sometimes important) bugfixes/updates, which you should keep, and text object support, which you may want to discard if it's too hard to compile in. Once again you'll want to get rid of all the stuff about libgnomeprint printing and keep only the PDF printing.
Denis
|