Forum Replies Created

Viewing 15 posts - 2,176 through 2,190 (of 4,239 total)
  • Author
    Posts
  • in reply to: HTML/CSS rendering issues
    #26801

    If PD4ML is used with the option pd4ml.adjustHtmlWidth() and a source HTML contains the following fragment:
    [language=HTML:1ku1ul84]

    [/language:1ku1ul84]
    then a document width will be incorrect in the result PDF file – it will cover several percents only of the whole PDF canvas.

    Adding the “display:block” style solves the issue.

    Which other approaches can be used to resolve the issue?

    Regards, Oleksii

    in reply to: HTML/CSS rendering issues
    #26803

    I download versions 380fx8 and 380fx9 and both are in trouble when render footer html session.
    The footer simply can’t be showed. It seems like no footer, although it has been seted.

    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 http://pd4ml.com/cookbook/pdf_header_footer_generation.htm (Type #3)

    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: 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: SVG or embedded pdf Images
    #27435

    Any update for svg support, please email to me :leiwei1997@yahoo.com.cn

    in reply to: TTF embedding
    #27304

    Hello,

    I am trying to provide for Asian (CJK) language support in my application. While chinese works out well, the TTF embedding feature doesn’t help in case of Korean or Japanese.
    I followed all the steps mentioned in the online help for generating pd4fonts.properties for these font files.
    In the server logs I can see font files getting resolved. Example, for japanese text, MSminchu.ttf is being loaded (as per the logs), but the generated PDF contains “??????” throughout and the PDF properties – > Font, doesn’t show me msminchu font being loaded.
    When I deliberately try to load chinese font for Japanese text, then I can see some of the content coming fine (that is because Chinese and Japanese languages share some symbols), but ofcourse that would not be a good solution.

    What could be going wrong here? I have been at it for a longtime now. Please help!!

    -Ashish

    in reply to: HTML/CSS rendering issues
    #26804

    Has anybody managed to use Google Web Fonts with pd4ml?

    I had no success at all, can anybody give me any useful pointers?
    Thanks.

    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: TTF embedding
    #27305

    Please try to substitute your fonts jar with this one:
    http://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: HTML/CSS rendering issues
    #26805

    Hi, I’ve been troubleshooting a problem with empty PDF pages.
    I’ve got a TR-TD in a legacy code which is used to separate vertical components:
    [language=html:1b1lvkqf]

    [/language:1b1lvkqf]
    I noticed that PD4ML pastes page breaks when such component is occurred.
    To check this I added pd4ml proprietary css feature:
    [language=CSS:1b1lvkqf]TR { page-break-inside: avoid;
    pd4ml-page-break-border-top: 1px solid red;
    pd4ml-page-break-border-bottom: 1px solid blue; }[/language:1b1lvkqf]

    Indeed instead of having empty TR-TD printed PD4ML inserted blue border which is used to print border bottom line.

    How can it be fixed without changing the legacy code?

    Thanks, Oleksii

    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: Page break is inserted on TR with empty TD
    #29181

    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

    The source HTML file is here
    Element which causes page break is on the line 494 in the source HTML (or search for a comment “Empty TD leads to pdf page break”)
    Rendered PDF with this element is here
    Rendered PDF without this element (or
    can be placed inside empty

    ) is here

    The red dashed line shows where PD4ML inserts pd4ml-page-break-border-bottom
    (defined in HTML head section)

    Thanks, Oleksii

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

    I’ve forgotten to provide the PD4ML configuration settings:

    unitsValue = UNIT_VALUE_POINTS;
    dimension = A4;
    landscapeValue = false;
    enableSmartTableBreaks = true;
    interpolateImages = true;
    adjustHtmlWidth = true;
    fitPageVertically = false;
    enableImgSplit = false;
    topInset = 40;
    leftInset = 40;
    rightInset = 30;
    bottomInset = 30;

    in reply to: Table Property rules="cols" not coming properly in PDF and R
    #29099

    Can we get an update on this ticket.

Viewing 15 posts - 2,176 through 2,190 (of 4,239 total)