Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | writer_pdf_Export Font GDI handle leaks | ||||||
---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | flajs.email | ||||
Component: | save-export | Assignee: | AOO issues mailing list <issues> | ||||
Status: | UNCONFIRMED --- | QA Contact: | |||||
Severity: | Normal | ||||||
Priority: | P3 | CC: | Armin.Le.Grand, elish, flajs.email, hdu, issues | ||||
Version: | 3.4.1 | Keywords: | needhelp | ||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
LibreOffice same problem ALG: Adding me to CC... Simplest scenario for a reproduction bug: 1) Execute LibreOffice 4.0.1.2/OpenOffice 3.4.1 on Windows 7 2) Create new document in Writer 3) write several words with fonts Arial, Arial Bold, Times New Roman etc 4) Run GDIView - applikaction for monitoring windows objects resources DC, Fonts, etc. http://www.nirsoft.net/utils/gdi_handles.html 5) Export this document to PDF 6) Check GDIView (F5 refresh) on soffice.bin process -> Font object growth 7) repeat steps 5,6 It's info OK ? ALG: Adding Herbert to CC. Herbert, font ressources...? How many GDI font handles are not released? Of course there is some caching going on. If everything was released immediately the performance would suffer quite a bit. Attachement is PNG screenshot, when is 10 0000 GDI handles allocated have PDF generator problem, no or bad fonts are included. (In reply to comment #5) > How many GDI font handles are not released? Of course there is some caching > going on. If everything was released immediately the performance would > suffer quite a bit. Font handles - GDI objects, sorry I'm not primary win32 developer (In reply to comment #4) > ALG: Adding Herbert to CC. Herbert, font ressources...? |
Created attachment 80472 [details] GDI view, Font handle are not released ! Batch conversion from RTF->PDF after 1700 iteration of converted files are GDI handles fill GDI Font object isn't released. how to reproduce: 1) connection to OOo 2) while (i < 1800) 3) open RTF (with arial font, bold font .... etc, multiple file) 4) export to PDF (PDF 1.4 or A) 5) loop