Issue 121928 - In Doc to pdf conversion PDF font issue after (2000 approx.) pdf generated
Summary: In Doc to pdf conversion PDF font issue after (2000 approx.) pdf generated
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 3.4.1
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needhelp
Depends on:
Reported: 2013-03-21 10:00 UTC by Praveen K Tiwari
Modified: 2017-05-20 11:55 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

junk char pdf (23.38 KB, application/pdf)
2013-03-21 10:00 UTC, Praveen K Tiwari
no flags Details
Correct pdf (76.46 KB, application/pdf)
2013-03-21 10:01 UTC, Praveen K Tiwari
no flags Details
Input Doc File (77.50 KB, application/msword)
2013-03-21 10:27 UTC, Praveen K Tiwari
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Praveen K Tiwari 2013-03-21 10:00:17 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";
							+ 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.
Comment 1 Praveen K Tiwari 2013-03-21 10:01:13 UTC
Created attachment 80445 [details]
Correct pdf
Comment 2 Praveen K Tiwari 2013-03-21 10:27:37 UTC
Created attachment 80446 [details]
Input Doc File
Comment 3 Armin Le Grand 2013-03-26 13:56:35 UTC
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
Comment 4 Praveen K Tiwari 2013-04-01 10:42:04 UTC
Hi, We have tried it after restart it works fine for a moment then again problem re occurs
Comment 5 Ariel Constenla-Haile 2013-04-01 10:45:04 UTC
Might be related to bug 121969
Comment 6 Praveen K Tiwari 2014-04-04 03:38:49 UTC
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.