I might be wrong but processing comes with itext.jar which correspond to iText 2.1.7.
I think if you add :
- import com.lowagie.text.*;
- import com.lowagie.text.pdf.*;
You might be able to use itext 2.1.7 core functionality.
If you need iText 5, you can download itext.jar and add it the your current sketch by drag and drop create a code folder in your sketch's folder and add required jar files. Then using correct import statement you can use core iText classes.
From processing sources, devs have reported that iText v5 have an issue:
The issue is that versions from the 5.x series were slow to handle lots of
* fonts with the DefaultFontMapper.