disable no graphics when save pdf file