Forum Replies Created

Viewing 15 posts - 706 through 720 (of 1,410 total)
  • Author
    Posts
  • in reply to: Repeated / Duplicated DIV
    #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
    in reply to: RTF features
    #28771

    We’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
    #28916

    Please 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>
    #28913

    We’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
    #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
    #28876

    Glad you resolved the issue.

    in reply to: URI is not hierarchical
    #28899

    The 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
    #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
    #28814

    Just uploaded v380fx3 to the download area. Please give a try.

    in reply to: Custom font, font-size
    #28902

    Obviously 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?
    #28887

    The 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.
    #28890

    In 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
    #28895

    If 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
    #28853

    Unfortunately 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.

Viewing 15 posts - 706 through 720 (of 1,410 total)