Forum Replies Created

Viewing 15 posts - 436 through 450 (of 1,410 total)
  • Author
    Posts
  • in reply to: pageBackgroundImageUrl attribute not working in header tag
    #29395

    Try to switch debug info on (pd4ml.enableDebugInfo() or debug=”true” attibute of a custom JSP transform tag), collect and publish its output. Also please publish here a PDF sample with a not applied background image.

    in reply to: Hyperlink with & are converted to &..How to by-pass it
    #29396

    Which PD4ML do you currently use? I tested with the most recent one – no such probs.

    in reply to: Anybody have a way to include font-awesome icons in the PDF?
    #29392

    Make sure you use PD4ML Pro (or a derived volume license) and utilize TTF Embedding feature:

    https://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm

    in reply to: Raw RTF Tags in Viewable Content for HR tags
    #29391

    The problem is known (impacts only v385fx1) and already solved in the dev build. It will take about a week to release.

    in reply to: TTF embedding
    #27315

    Please publish your updated JSP and a sample of its debug output.

    in reply to: TTF embedding
    #27312

    Try to change <pd4ml:usettf> tag to
    <pd4ml:usettf from="java:fonts"/>

    in reply to: TTF embedding
    #27309

    You defined debug=”true” attribute. That means PD4ML prints to server’s log TTF loading diagnostics.

    Can it lookup requested fonts? Can it load them? The log output should help to determine the problem reason.

    in reply to: PD4ML Table Breaks
    #29383

    html.enableSmartTableBreaks(true) implicitly defines

    TABLE, TR {page-break-inside: avoid}

    CSS style. Obviously to resolve the issue you would need either disable the smart table break mode or to define an extra CSS style (i.e. with html.addStyle())

    TABLE {page-break-inside: auto !important}

    in reply to: PD4ML library failed to support utf-8
    #29386

    Download and try the most recent PD4ML Pro v385.

    in reply to: Request to make irreversible pd4ml methods reversible
    #29379

    By an HTML rendering PD4ML instantiates tons of objects to represent even a minimalistic HTML document. Each tag or a standalone whitespace requires a creation of a couple of objects: a tag and its properties table etc.

    A reusing of PD4ML instance may save a few nanoseconds, comparing to hundreds of milliseconds needed for an entire conversion procedure. If you find that still worthwhile, we’ll make the corresponding properties “public” in the next beta release, to let you reset them if needed. (We are conservative with any legacy API changes and would prefer to keep them as it is now, until a new generation of PD4ML came).

    Unfortunately in our business we cannot rely on “decent developers” use our tools. From about 10 years of PD4ML support practice we learned a lot of really “creative” ways one can misuse the library (and programming paradigms in general). So simple rules, like “do not reuse an instance”, works always; a dispatch to a “best practice” may lead to new troubles.

    in reply to: Merg multiple PDF files
    #29387

    Unfortunately for the time being there is no way to merge PDF output with more than one existing PDF file. We work on the issue to be resolved with the next major release.

    in reply to: TOC More Parameters / Inject CSS classes in TOC
    #29282

    Right, in most of the cases you would only need to add <pd4ml:toc> tag where you want to see a table of contents. CSS style is for a “fine tuning”.

    in reply to: Html with brace characters {} rendering invalid RTF
    #29381

    We just fixed the issue in the development build. A fix will be available with the forthcoming beta release in about 1 week.

    in reply to: CSS comment "/*===*/" causes error
    #29380

    It seems to be something wrong with the third-party CSS Parser project library (ss_css2.jar). We’ll check if ss_css2.jar can be fixed with reasonable efforts.

    in reply to: Request to make irreversible pd4ml methods reversible
    #29377

    We recommend to create a new instance of PD4ML class for each conversion request. A class creation overhead can be ignored (comparing to massive resource consuming by HTML rendering). Usually that helps to prevent many difficult-to-detect problems like simultaneous access to the same PD4ML instance from multiple threads.

    With a new instance there is no need to perform reverse API calls – you just do not trigger methods you do not need.

    But you are right – from some point of view the actual API is not fully consistent. We plan to review it in new PD4ML generation (as well as to sacrifice some legacy features).

Viewing 15 posts - 436 through 450 (of 1,410 total)