Closed avanhovedev closed 2 years ago
Hi, could you clarify parameters you've used?
I've converted your file via:
curl --location --request POST 'http://localhost/ConvertService.ashx' \
--header 'Content-Type: text/plain' \
--data-raw '{
"async": false,
"filetype": "pptx",
"key": "50ae2df7-f06d-4205-9a68-ea695cfbae1d",
"outputtype": "pdf",
"title": "PB.Preview.OO_INSAL_GoFAST_Tuto_Actions_enmasse.pptx",
"url": "https://github.com/ONLYOFFICE/DocumentServer/files/7959685/PB.Preview.OO_INSAL_GoFAST_Tuto_Actions_enmasse.pptx"
}'
And everything seems fine (I've opened PDF in it Google Chrome and ONLYOFFICE DocumentServer):
@ShockwaveNN we are checking and give you update next week. It is possible that it is that Onlyoffice PDF export in this case is incompatbile with PDF.js (LO and MS-Office working)
incompatbile with PDF.js (LO and MS-Office working)
It may be, I think we got reports of problems with pdf.js earlier, but if file is renders fine in Google Chrome, LibreOffice and Word - this should be reported as bug in pdf.js library
Not exactly, PDF exported from LibreOffice or MS-Powerpoint is correctly displayed by PDF.js, not PDF export from Onlyoffice
@cpot Sorry, correct me if I got you wrong, but I've meant another thing
And if this pdf is OK in Google Chrome, and Okular and not OK in pdf.js - I think it's the problem in pdf.js
I've rechecked resulting pdf in Mozilla firefox (as I understand it uses pdf.js by default) and I confirm that it renders incorrectly, but google chrome and Okular render ok
Hi ! This is the render with firefox :
I confirm, so i think it's a pdf.js problem we will see and come back after we fix this bug.
Thanks,
But still, LO and Powerpoint export a correct PDF of this file in PDF.js ....
Maybe because they use completely another engine or some specific operations
I thin the best way right now to handle this situation - file an issue to pdf.js and wait for their analyze of this problem
I'll close this issue, seems pdf.js team accepted this problem (judging by their tags)
The same problem. The pdf.js team seems not accepted this problem.
Do you want to request a feature or report a bug? Bug
What is the current behavior? When i'm using the PDF converter API, i have render problems on my pptx file(see attachments)
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. I will give u my file and can you test to convert the document into PDF using API
What is the expected behavior?
Did this work in previous versions of DocumentServer? No
DocumentServer version: 7.0.0
Operating System: Microsoft Windows 10
Browser version: Google Chrome 91
PB Preview OO_INSAL_GoFAST_Tuto_Actions_enmasse.pptx