Update to latests legacypdf #1641