use pdf for graphics