Forum Replies Created

Viewing 15 posts - 691 through 705 (of 1,410 total)
  • Author
    Posts
  • in reply to: Positioning – bottom ignored
    #28695

    Do you have any reasons not to remove “float: left;” from the style?

    in reply to: Positioning – bottom ignored
    #28693

    The examples do not work as they combine positioning and float behavior. The combination is not supported by PD4ML.

    in reply to: Configurable logging?
    #28937

    PD4ML can emulate bold by a stroking out of regular glyphs. It is the only option to get bold style for many CJK fonts. But the result is not that good as to use a specially defined bold TTF.

    I would recommend to add Arial Bold to your font directory/package.

    in reply to: Configurable logging?
    #28935

    > We would like to keep logging to a minimal when nothing is wrong with the system
    In the case just remove pd4ml.enableDebugInfo() call. If anything fails it prints stack trace independently on the debug mode.

    Regarding the fonts: PD4ML has 3 built-in tables of fallback font names for serif, sans and monospaced. It walks the tables when, for example, for Chinese text applied font Arial (however Arial has no Chinese glyphs defined). It is a part of TTF substitution logic.

    In your case even Arial is not defined, so it tries to lookup any font is able to display a particular text.

    in reply to: Footnote links not working corectly in RTF
    #28917

    It can be done the same way as in HTML:

    <a href="#someanchor">Link</a>
    .
    .
    .
    <a name="someanchor">Referenced text</a>

    Make sure you use the most recent version of PD4ML.

    in reply to: How to control RTF default font size
    #28918

    “In RTF output mode PD4ML still uses HTML renderer, developed for PDF output.

    It is explained by the link: https://pd4ml.com/cookbook/pdf_page_formatting.htm

    That means you get HTML layout of requested width (htmlWidth parameter) mapped to chosen paper format. An actual transformation from dimensions given in screen pixels or in physical units to resulting dimensions on paper is not always obvious.

    pd4ml.protectPhysicalUnitDimensions() API call should make dimensions/sizes given in pt, in, cm keept intact.

    There some are other support topics address the issue. I.e.
    html-css-to-pdf-rendering-issues-f3/font-size-wierdness-t109.html”

    Taken from viewtopic.php?f=3&t=508#p2226

    in reply to: PD4ML does not allows background color in RTF
    #28919

    Since v380fx2 PD4ML allows to define text background color.

    in reply to: PD4ML Lotus Domino 8.5.3 Basic Authentification
    #28929

    It is expected you pass actual login/password with the call:

    m.put(PD4Constants.PD4ML_BASIC_AUTHENTICATION, "guest:segreto");

    in reply to: Outputted element coordinates
    #28933

    PDF form elements appear in PDF like that:

    2 0 obj
    <<
    /Type /Annot
    /Subtype /Widget
    /Rect [125 939 38 929]
    /T (i1)
    /AP <>
    /FT /Tx
    /Ff 0
    /F 4
    /MK <<
    /BG [1 1 1]
    >>
    /Subtype /Widget
    /DR <>
    /V (val1)
    /DV (val1)
    >>

    /Rect [125 939 38 929] is a bounding box of the form element there.

    in reply to: Problem with pdf print
    #28934

    Currently PD4ML does not support JavaScript in source HTML/JSP. I guess you could also do the field initialization with some Java code in JSP.

    in reply to: span tag not displaying border
    #28924

    PD4ML does not support SPAN borders. It is an implementation restriction: is interpreted as a text style changer (like , <font> etc) and ignores some block element-specific styles.

    in reply to: RTF features
    #28775

    > Regarding your comment about being able to set header/footer as a tag not being implemented yet, will it be possible in the future?
    > If so, do you have a rough estimate to when we can expect that?

    The feature implementation has quite a low priority. You know, the main purpose of PD4ML is PDF output. Normally we add new features to RTF module when there is no urgent PDF issues. I have my doubts if we’ll have a chance to start the implementation till May.

    If you need the feature urgently you may fund its implementation. In the case please contact us by email.

    > Lastely, when specifying lengths in css (or tags), what is the unit that I should use (besides %)?
    > I know that RTF natively operates on a twips, and I tried to calculate it from cm, but without much luck.

    In RTF output mode PD4ML still uses HTML renderer, developed for PDF output.

    It is explained by the link: https://pd4ml.com/cookbook/pdf_page_formatting.htm

    That means you get HTML layout of requested width (htmlWidth parameter) mapped to chosen paper format. An actual transformation from dimensions given in screen pixels or in physical units to resulting dimensions on paper is not always obvious.

    pd4ml.protectPhysicalUnitDimensions() API call should make dimensions/sizes given in pt, in, cm keept intact.

    There some are other support topics address the issue. I.e.
    html-css-to-pdf-rendering-issues-f3/font-size-wierdness-t109.html

    in reply to: <fieldset><legend></legend></fieldset> supported by PD4ML?
    #28923

    The current version of PD4ML does support the tags in general. However it could be issues with an applying of styles to the tags.

    in reply to: Href does not open in new window
    #28538

    PDF file format does not support such behavior.

    in reply to: RTF features
    #28773

    It seems we fixed the issue. If you’d like to test it with the current development build – please request it by email from support pd4ml com

Viewing 15 posts - 691 through 705 (of 1,410 total)