Effective use of PDF libraries