Forum Replies Created

Viewing 15 posts - 46 through 60 (of 1,410 total)
  • Author
    Posts
  • in reply to: PDF generation with html with css3
    #30126

    For the time being the feature is not supported.

    in reply to: fonts.jar not working in Linux system
    #30122

    Did you try to explicitly include pd4ml.jar and fonts.jar to the classpath?
    (not just place them to a shared lib/ folder etc)

    in reply to: PDF generation with html with css3
    #30125

    A lot of CSS3 features supported, but currently not all the spec.

    in reply to: Dynamical image
    #30121

    > Now pd4ml read this with ‘null’ for src attribut …

    I would suspect the placeholder is wrongly substituted with null (by JSP container etc) before PD4ML came into action.

    in reply to: Expression Language
    #30123

    PD4ML supports dynamic placeholder $[var] substitution with pd4ml.setDynamicParams() API call. (note the square brackets!)

    Do you try to use ${test.src} with pd4ml.setDynamicParams()? I am afraid it does not work.

    If it is about a more general use of Expression Language, please make sure the EL elements are resolved before the HTML is passed to PD4ML. PD4ML does not process EL by itself.

    in reply to: PDF page headers/footers definition options
    #27297

    Please publish a PDF sample generated from your HTML code.

    Please make sure you use PD4ML Pro (or a derived VOL license binary). Also try to place <pd4ml:page.break> right after opening <body> tag. Does it changes anything?

    in reply to: Text on right side is cut away
    #30114

    Hmm… On my workstation it always uses Arial instead of any (even embedded) font.

    in reply to: Text on right side is cut away
    #30113

    If you open the document in Acroread its content is rendered correctly using Times font.
    IcePDF for some reason uses Arial instead (however in doc font info it still refers to Times).

    As for me it is a bug of IcePDF, or its free version restriction (which does not include a font engine, according to the download page).

    I would recommend to generate PDF with TTFs embedded, not relying to built-in viewer fonts.

    in reply to: Text on right side is cut away
    #30111

    Is the issue only with icePDF? Does the doc layout appear in Acroread as expected?

    in reply to: PDF page headers/footers definition options
    #27295

    Try to define a footer inline with <pd4ml:page.footer scope="even"> and <pd4ml:page.footer scope="odd"> tags.

    See https://pd4ml.com/cookbook/pdf_header_footer_generation.htm

    If your environment is sensitive namespace declarations, use an alternative tag naming: <pd4ml-page-footer>

    in reply to: Text on right side is cut away
    #30119

    The way PD4ML scales HTML layout to “paper” media is explained by the link:
    https://pd4ml.com/cookbook/pdf_page_formatting.htm

    PD4ML uses 72dpi to translate screen pixels to physical units, but after the physical dimensions are translated to screen pixels, the entire layout is translated back to physical units (scaled to fit the target media width). The scale factor depends on htmlWidth, target paper format and paper margins.

    protectPhysicalUnitDimensions() protect elements, whose sizes given i.e. in mm, from being scaled at the phase.

    FYI constants used by PD4ML:

    A4 is 595 x 842pt

    MM_PER_INCH = 25.4;
    POINTS_PER_MM = 2.835;
    POINTS_PER_INCH = 72;
    PIXELS_PER_POINT = 1.35;
    PIXELS_PER_PICA = 12 * PIXELS_PER_POINT;

    Regarding a viewer: I’ve got no good tool to recommend, but we definitely have to test PD4ML output with ICE PDF to check what is wrong there.

    in reply to: Text on right side is cut away
    #30117

    If you define HTML/CSS dimensions in physical units, try
    pd4ml.protectPhysicalUnitDimensions() API call.

    in reply to: not all attachments attached to resulting pdf
    #30106

    Does LN mean Lotus Notes there?

    in reply to: Does PD4ML.Net support Bootstrap and other styling libraries
    #30058

    A typical Bootstrap HTML layout utilizes some features, which are currently not supported by PD4ML (i.e. rounded borders, specially styled lists etc). The features will be addressed by new PD4ML versions.

    in reply to: is there a way to use Angular js views as input to the PD4ML
    #30099

    PD4ML does not support JavaScript. If the views are created on a fly with the client-side JavaScript – there is no simple way to convert such views to PDF.

    The following is a possible direction to go:
    html-css-to-pdf-rendering-issues-f3/is-javascript-supported-t216.html

Viewing 15 posts - 46 through 60 (of 1,410 total)