Forum Replies Created
-
AuthorPosts
-
in reply to: Repeated / Duplicated DIV March 12, 2012 at 18:46#28915
That can happen, for example, when images are styled to avoid to be broken by a page break. PD4ML forces a pagebreak to protect an image, but if there is a text block below the image top edge and the text already printed on the current page – it will also be repeated on the next page.
A good practice to avoid the problem is to use conditional page breaks or to enclose content portions to table cells and to apply “page-break-inside: avoid” style to the table rows.
See: https://pd4ml.com/cookbook/conditional_pdf_page_breaks.htm
in reply to: TTF embedding March 8, 2012 at 09:17in reply to: RTF features March 6, 2012 at 10:54#28771We’ll check what could be done there.
It looks like a mismatch of dimentions, calculated during HTML layouting, and factual dimensions in RTF documents.A fix can take 1-1.5 weeks.
in reply to: PD4ml take lots of memory in special scenerio March 6, 2012 at 10:36#28916Please send the source HTML document (+resources, logs and may be some comments) to support pd4ml com. We’ll address the issue on Friday.
in reply to: using <pd4ml-layoutbox> March 6, 2012 at 10:31#28913We’ve got a couple of reports, that the layoutbox and multi-column layout feature work not always stable. We plan to address the issues and fix with the new maintenance release.
I would estimate 2-3 weeks for that.
in reply to: Custom font, font-size February 28, 2012 at 19:58#28906“pt” and “%” should also work. “pt” is converted on-a-fly to “px” bearing in mind 72dpi resolution. (optionally pd4ml.protectPhysicalUnitDimensions() API call suppresses the size conversions, but it has its drawbacks)
The issue you experience with font size is quite strange.
Try to temporarily define any other TTF font instead of HM Ampersand Ultra Light, i.e. Comic Sans MS. Is the problem still there?
in reply to: pd4ml.cache.enable=false February 28, 2012 at 19:02#28876Glad you resolved the issue.
in reply to: URI is not hierarchical February 28, 2012 at 19:00#28899The message is not originated by PD4ML. Obviously it comes from URL/URLConnection classes. I would recommend to google for a solution for your particular case/URL.
in reply to: display current date every time the PDF is opened February 24, 2012 at 21:11#28797> great help if you can release by this week.
Hopefully it is not too late… We’ve just released v380fx3
in reply to: Css style inheritance February 24, 2012 at 21:09#28814Just uploaded v380fx3 to the download area. Please give a try.
in reply to: Custom font, font-size February 24, 2012 at 21:08#28902Obviously we need more input from your side: HTML sample, Java code snippet, TTF file (if it is not a commonly used one) etc.
But first try to download the just-released v380fx3 – hopefully it solves some of the issues you reported.
in reply to: How to optimize the size of the generated PDF? February 22, 2012 at 13:07#28887The recent changes of the absolute positioning logic still cannot pass QA. We’ve been working on it. I’ll post here a brief notice, when the version is available.
in reply to: PDF with large number of Images. February 22, 2012 at 13:04#28890In theory, PD4ML should embed JPEG images to PDF “as is”, without a rendering in RAM. So the issue needs some investigations.
But first, I would try to unload the images from RAM to the temp dir:
Map m = new HashMap(); m.put(PD4Constants.PD4ML_CACHE_IMAGES_IN_TMP_DIR, "true"); pd4ml.setDynamicParams(m);
Does it change anything in your case?
in reply to: pd4ml.render is taking too long time February 20, 2012 at 11:17#28895If the CSS stylesheet is linked as a external resource and it impacts the performance, first I would suspect network delays/routing issues by the CSS loading.
Also try to add a simple progress monitor to determine at which conversion phase the delay occur: https://pd4ml.com/cookbook/html_pdf_conversion_progress_monitoring.htm
in reply to: Table cell border not drawn after page break February 17, 2012 at 17:28#28853Unfortunately we have to leave the issue as it is. A workaround requires a significant refactoring of the table break logic.
Hopefully the solution with style=”border-collapse: separate” works for you.
-
AuthorPosts
