Fix rezoom and add PDF.