Copy code from DVIPDFMx