By the way, everything above works as one would expect (in other words, it is not just a pretty screenshot). Because the Options panel is quite hard to get to, and for last minute tweaking, I've also implemented the font formatting functionality in the toolbar:
The same settings file is used for both of the above, so which ever is set last overrides the previous setting. Roumen reminded me about a module that lets you read PDF files inside the IDE (based on an API called JPeddle that I can't track down on-line), but despite searching his blog, I haven't been able to find it. That would be a perfect combination with this module, because it would let iText write PDF files while the other module reads them. Hope I track down that module soon.
There's still a lot of work I need to do on this module before it is ready for publication, but right now it is already pretty cool. The only real problem I have is... why would anyone even want to make PDF files of their Java files (or any other file) in the IDE? In other words, this is a case of: "Hmm. Interesting functionality. But what is it good for?"