Forum Replies Created

Viewing 15 posts - 556 through 570 (of 1,410 total)
  • Author
    Posts
  • in reply to: 9 CSS hack in stylesheet – entire stylesheet ignored
    #29193

    The CSS hack problem can be solved in a third-party open-source library “CSS Parser project”, PD4ML relies on. I took quick a look on it – it is quite simply to suppress the exception, but a correct processing of “0px9” syntax would require to update JavaCC CSS grammar, which is relatively tricky.

    JavaCC code edits have another drawback: by .NET port of it we would need to convert not JavaCC src, but semi-readable auto-generated Java code. So we implement patches to ss_ccs2.jar unwillingly.

    in reply to: Lotus Notes – Embedded Views?
    #29198

    Please send us a DXL sample of a document with an embedded view – we’ll see if there is a view data can be converted to PDF.

    in reply to: TTF embedding
    in reply to: td border is not displayed.
    #29200

    Try to add some content to the row cell:

    <tr valign="top">
    <td style="width: 25pt; height: 1pt;"></td>
    <td colspan="38" style="border-top-style: solid; border-top-width: 1pt; border-top-color: #000000;"><font style="font-size: 2px"> </font></td>
    <td colspan="5" style="width: 70pt; height: 1pt;"></td>
    </tr>

    Otherwise it optimises the table and ignores rows with no content.

    in reply to: Page break is inserted on TR with empty TD
    #29180

    > I noticed that PD4ML pastes page breaks when such component is occurred.

    No, it is not quite correct. PD4ML forces a page break, when TR { page-break-inside: avoid } is set, and a subsequent TR content does not fit remaining page space.

    pd4ml-page-break-border-* properties currently are not useful, as the current table break logic deals correctly with borders in most of the cases.

    > How can it be fixed without changing the legacy code?
    I hope an HTML sample would help us to correctly understand the problem you faced with. Please publish it here or send it to support pd4ml com

    in reply to: TTF embedding
    #27305

    Please try to substitute your fonts jar with this one:
    https://pd4ml.com/i/allfonts.zip (34 MB!)

    unpack it and place fonts.jar to the classpath of your application (or to lib/ folder if any).
    Refer the fonts this way:
    pd4ml.useTTF("java:fonts", true);

    And make sure the HTML has a correct meta charset directive.

    Does it solve the problem?

    in reply to: Google Web Fonts
    #29179

    Unfortunately PD4ML does not support Google Web Fonts (in WOFF file format) for the time being.

    in reply to: Question about PDF/A type generation
    #29175

    Forthcoming PD4ML version will suppress image transparency mask (if any) in PDF/A output mode.

    in reply to: Footer issue in latest pro version (380fx9 Pro)
    #29176

    We fixed the problem in the dev build. An updated beta version is going to be available for download in few days.

    in reply to: Footer cannot be rendered in PDF with version 380fx8/380fx9
    #29178

    I’ve just sent you a build, which should fix the problem.

    There is always an alternative way to define headers/footer in PD4ML. See https://pd4ml.com/cookbook/pdf_header_footer_generation.htm (Type #3)

    in reply to: Problem with P tag containing attribute text-align: justify
    #29146

    Which version do you currently use?

    Please publish (or send to the support) the document source and its resulting PDF.

    in reply to: Footer at bottom of last page
    #29170

    A solution will be available with the forthcoming beta release.

    in reply to: Question about PDF/A type generation
    #29174

    I inspected pdf.zip content and analysed recipe.pdf from it.

    The PDF has been generated with PD4ML version: 380fx3 Pro (not DMS), so it ignores enablePdfa() API call. Please check if it your application uses an older cached pd4ml.jar instance.

    Also PDF/A file spec prohibits image transparency, which makes transparent/translucent watermarking not allowed.

    in reply to: Question about PDF/A type generation
    #29171

    1. Yes, PDF/A spec does not allow any security settings applied.

    2. It would help a lot if you publish an HTML code sample, which illustrates the problem, all relevant resources (images, CSS) and a resulting PDF.

    in reply to: sup and sub HTML Tag support?
    #29135

    In the versions prior to v3.8.0fx8 an appearance of superscript text impacted the line height (and a gap between lines). Now the problem is solved, but you faced with a drawback of the solution.

    It can be worked around either by explicit setting of line height to a greater value (overriding the default line-height: 1.2) or by a decreasing of the superscript font size:

    pd4ml-footnote { font-size: 80% }

    You may add the style to the document itself or with pd4ml.addStyle() API call.

Viewing 15 posts - 556 through 570 (of 1,410 total)