Apache OpenOffice (AOO) Bugzilla – Issue 121928
In Doc to pdf conversion PDF font issue after (2000 approx.) pdf generated
Last modified: 2017-05-20 11:55:36 UTC
Created attachment 80444 [details] junk char pdf I am using Open office org 3.1 services for converting doc to pdf code snippet for your reference storeProps = new PropertyValue[1]; storeProps[0] = new PropertyValue(); storeProps[0].Name = "FilterName"; storeProps[0].Value = "writer_pdf_Export"; xStorable.storeToURL( "file:///C:/Output" + fileName + Math.random() + ".pdf", storeProps); After successfully generated around 2000 - 2500 pdf it seems service behaving abruptly and generates wrong pdf(sometimes with different font, junk character, extra spaces etc. ), Please help in resolving the issue ASAP.
Created attachment 80445 [details] Correct pdf
Created attachment 80446 [details] Input Doc File
ALG: Just a guess: Maybe MemoryLeaks (which always exist unfortunately) lead to problems. WOuld it be possible to restart the office e.g. after 2000 docs are converted? Could you try that? Maybe even after 1000 if the memory leak is dependent of the size of the docs/pdfs
Hi, We have tried it after restart it works fine for a moment then again problem re occurs
Might be related to bug 121969
Praveen: Just for a workaround we have changed the font to “Times” and it works on load testing of 50 K document as well, Please check if it help you on resolution.