Forum Replies Created

Viewing 15 posts - 3,721 through 3,735 (of 4,243 total)
  • Author
    Posts
  • in reply to: Soft hypens not rendered correctly
    #33744

    Hi Oliver! Sorry for the delay with the reply and the avatar issue. We are in a transition phase from the older to new web site design, and currently pd4ml.tech runs a dummy design, obviously with the style flaws.

    I’ve created a ticket for the hyphen issue and assigned the top priority to it. Hopefully we have a solution within the next week.

    in reply to: Evaluation License
    #33745

    The feature should work in the demo. Is H006.htm from PD4ML’s usage examples? If you use a modified version, please send the HTML sample to support pd4ml com

    And sorry for the delay with the reply: the email notifications from the forum are failed to deliver since few weeks, because of a DNS issue. We work on it.

    in reply to: Bootstrap
    #33746

    Thank you. Has there been any updates on the flex support for v4?

    in reply to: Soft hypens not rendered correctly
    #33747

    Any news? Maybe a fixed version as surprising Christmas present? 😉

    in reply to: Technical questions / Troubleshooting
    #33787

    I switched our online wysiwyg editor from CKEditor to Froala. Our users are now running into issues with PD4ML converting the HTML and not formatting the document correctly as it relates to images. For example, below should produce an image with text below it. The Chrome Browser (save as PDF) produces the correct result, but the PD4ML java library produces something quite different. I am using the PD4ML version 4.0.7-SNAPSHOT. I’ve attached the resulting PDFs as well. Anyone know how I can address this? I have tested this html on another pdf library and the format was fine as well (but I would prefer to stick with PD4ML as it’s much faster)

    Class Setup
    private static final int margin_top = 15; private static final int margin_bottom = 15; private static final int margin_left = 15; private static final int margin_right = 15; private static final int htmlPixelWidth = 780; PD4ML pd4ml = new PD4ML(apiKey); pd4ml.setPageSize(PageSize.LETTER); pd4ml.setPageMargins(new PageMargins(margin_left, margin_top, margin_right, margin_bottom, Dimensions.Units.MM)); pd4ml.setHtmlWidth(htmlPixelWidth); pd4ml.useTTF("java:fonts", true); // Embed fonts pd4ml.monitorProgressWith(progressMonitorPD4ML);

    Source HTML
    <img src="https://staging.aframeonline.com/afs/FileView.action?t=df462609-c1d1-4499-9718-1943c419e908&f=24d20468-991e-47e2-9574-50ba9023da58" style="width: 300px; display: block; vertical-align: top; margin: 5px auto 5px 0px; text-align: left;"> Text that should appear below the image

    #33788

    Here are the resulting files (reduced the size so this forum would accept them)

    Attachments:
    You must be logged in to view attached files.
    in reply to: Soft hypens not rendered correctly
    #33791

    Hi Oliver! It has taken longer, but the fix is finally available as v4.0.7

    in reply to: Technical questions / Troubleshooting
    #33793

    Hi,
    we try to upgrade our PD4ML from version 3.9.3 to 4.x (last try with 4.0.7).
    We use ‘word-wrap: break-word;’ to break to long words. With 3.9.3 this works also for ‘unbreakable’ words like ‘abcdefghijklmnopqrstuvwxyz’.
    After upgrade to 4.0.7 no break is insert.
    Do I do something wrong or is it just not supported in version 4.x?
    I tried with demo mode.

    Test html:
    <html>
    <head></head>
    <body>

    abcdefghijklmnopqrstuvwxyz

    </body>
    </html>

    Attached the generated pdf files.

    Thank you for your support.
    Oliver Breidenbach

    Attachments:
    You must be logged in to view attached files.
    in reply to: Soft hypens not rendered correctly
    #33796

    Thanks, it is working fine now.

    in reply to: Technical questions / Troubleshooting
    #33872

    Hi pd4ml,

    We have some markup where there is nested div structure and we are applying display:inline-block to the top level

    .
    Seems like inline-block with width auto is not working in case of nested structures. Please find the markup and generated PDF in attachment.

    Note : We are using pd4ml-4.0.6 jar
    Is it possible to provide a fix (or)
    Can you please suggest some css which will work with pd4ml? (In browser, the output is proper)

    Thanks,
    Rekha

    Attachments:
    You must be logged in to view attached files.
    #33874

    Please find the markup we are using:
    <html>

    <head>
    <style>

    .content-sub_section {
    display : inline-block;
    width : auto;

    }

    .content-field {
    width : 50%;
    display : inline-block;
    float : left;
    }

    </style>
    </head>

    <body>

    <span>100</span>

    <span>King</span>

    <span>50</span>

    <span>101</span>

    <span>Mark</span>

    <span>70</span>

    </body>

    </html>

    #33875

    <html>

    <head>
    <style>

    .content-sub_section {
    display : inline-block;
    width : auto;

    }

    .content-field {
    width : 50%;
    display : inline-block;
    float : left;
    }

    </style>
    </head>

    <body>

    <span>100</span>

    <span>King</span>

    <span>50</span>

    <span>101</span>

    <span>Mark</span>

    <span>70</span>

    </body>

    </html>

    #33876

    `<html>

    <head>
    <style>

    .content-sub_section {
    display : inline-block;
    width : auto;

    }

    .content-field {
    width : 50%;
    display : inline-block;
    float : left;
    }

    </style>
    </head>

    <body>
    <div class=’layout-content-inline’>
    <div class=’content-sub_section’>
    <div>
    <div>
    <div class=’parent’>
    <div class=’layout-content-inline_grid_double’>
    <div class=’content-field’>
    <div>
    <div>
    <span>100</span>
    </div>
    </div>
    </div>
    <div class=’content-field’>
    <div>
    <div>
    <span>King</span>
    </div>
    </div>
    </div>
    <div class=’content-field’>
    <div>
    <div>
    <span>50</span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class=’content-sub_section’>
    <div>
    <div>
    <div class=’parent’>
    <div class=’layout-content-inline_grid_double’>
    <div class=’content-field’>
    <div>
    <div>
    <span>101</span>
    </div>
    </div>
    </div>
    <div class=’content-field’>
    <div>
    <div>
    <span>Mark</span>
    </div>
    </div>
    </div>
    <div class=’content-field’>
    <div>
    <div>
    <span>70</span>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </body>

    </html>

    in reply to: Technical questions / Troubleshooting
    #33877

    We have upgraded pd4ml library from version 3.1.1 to version 4.0.7. for version 3.1.1 generated pdf is not breaking page. it was showing as expected. but after upgrading to version 4.0.7 generated pdf have blank pages. unnecessary height is added. can you please help us for this issue.

    #33878

    Hi! Please publish HTML code, which could help us to reproduce the issue or contact support by email. Thanks!

Viewing 15 posts - 3,721 through 3,735 (of 4,243 total)