Hi admin, please help to find out what happen with my PDF file, my file is a form format PDF and i would like to convert it to flatten format so i use the "convert_to_pdf" function, but it throw an error RuntimeError('substitute font creation is not implemented yet')
Here is my code:
attachment = base64.b64encode(image_file.read())
pdf_file = fitz.open("pdf", base64.b64decode(attachment))
pdf_bytes = pdf_file.convert_to_pdf()
My PDF: https://drive.google.com/file/d/18D-Kn2cRWE_dLRItNgOb4N_ys5CUA-X6/view?usp=sharing
Please help.