Forum Replies Created

Viewing 15 posts - 106 through 120 (of 1,410 total)
  • Author
    Posts
  • in reply to: pd4ml probe renders the css style but pd4ml-3.9.5 does not
    #30007

    Please send an HTML sample and its problematic PDF output to support pd4ml com to be analyzed

    in reply to: Non-Actionable URLs in PDF generated through PD4ML
    #29987

    Unfortunately it still can “see” the hyperlinks even “through” an overlaying image.

    We did not test an approach to place a transparent object (a vector rectangle) over the hyperlink and to assign a dummy PDF script handler to it. But I think it would result other visual flaws.

    So the only existent workaround is to damage a hyperlink representation: i.e. to pre-process HTML and to insert a space character after “http://”.

    in reply to: Non-Actionable URLs in PDF generated through PD4ML
    #29986

    OK, now I see your point. The issue is know (i.e. post3894.html#p3894 ) and we tried to find a workaround multiple times.

    As far as I remember the last promising idea was to overlay entire page with a transparent image (or annotation area, or anything else to screen hyperlinks). I’ll try to find the investigation results and share with you.

    in reply to: Non-Actionable URLs in PDF generated through PD4ML
    in reply to: Non-Actionable URLs in PDF generated through PD4ML
    #29984

    pd4ml.disableHyperlinks() should do the trick.

    in reply to: Skip watermark for specific page
    #29982

    It is not possible with the watermarking feature. But you can achieve something visually identical with page background images.

    Try to override getPageBackgroundImageUrl(int pageNumber) method as it is done for getHtmlTemplate() method in the code snippet below (implementing the logic you need):

    PD4PageMark footer = new PD4PageMark() {
    public String getHtmlTemplate(int pageNumber) {
    if ( pageNumber % 2 == 0 ) {
    return "some left aligned stuff...";
    } else {
    return "some right aligned stuff...";
    }
    }
    };
    pd4ml.setPageFooter(footer);

    in reply to: Issue with page break
    #29981

    It seems there is a clash of even/odd alignment and suppression of trailing blank pages logic. We’ve just resolved it in the DEV build.

    Regarding the page numbering: try to place the following header (or footer) definitions before opening tag.

    
    
    Page $[page] of $[total]

    in reply to: HTML to RTF conversion produces huge files
    #29980

    > if i use RTF thene image is not transfered to the result file.

    In fact the images are there, but can only be displayed by MS Word (and may be some other viewers).

    > I have tested to create the final result using “wordpad” and the result file size is 70KB.

    It can also be, Wordpad downscales the image with a detailization loss. But we’ll check the RTF spec if there are compression options for such images available, supported by the major viewers.

    in reply to: HTML to RTF conversion produces huge files
    #29978

    Do you convert to RTF or to RTF_WMF mode?

    RTF_WMF for wordpad.exe compatibility converts image bytes to WMF format, which causes a significant size grow of resulting RTF.

    in reply to: Stack underflow since v3.9.8
    #29971

    Please give a try to the just-released v3.10.0 – it addresses the type of issues.

    in reply to: pd4ml:footnote with noref
    #29968

    I’ve tested your code snippet with the most recent v3.10.0 and detected no issues. It renders correctly with and without “noref”.

    Could you please publish a HTML document and its resulting PDF to illustrate the issue?

    in reply to: Header is ok, body is failing showing question marks
    #29975

    Try to add

    SimSun=arialuni.ttf

    SimSun presents in all fallback tables, so a TTF behind the font family name should be used as the last resort.

    in reply to: Header is ok, body is failing showing question marks
    #29972

    It sounds like different font families are applied to the header content and to the main body.

    If, for example, Arial or Times is applied to Chinese text (and regular versions of the fonts do not define CJK glyphs) PD4ML scans its fallback tables to find a “similar” font, which is able to display a given text. If no suitable font found, it gives up with an output of question marks.

    I guess it succeeds with a substitution font for header, but not for the main content. If you switch debug on, it should dump the font lookup attempts.

    in reply to: Support of java: protocol for other resources than images
    #29954

    It is expected on Friday (if QA detects no issues).

    in reply to: Out of memory when ResourceProvider throws an IIOException
    #29946

    Please check my email reply.

Viewing 15 posts - 106 through 120 (of 1,410 total)