Forum Replies Created

Viewing 15 posts - 1,351 through 1,365 (of 1,410 total)
  • Author
    Posts
  • in reply to: Date Formatting problems
    #27543

    Hmm… Here I can only guess. Of course, PD4ML does not try to logically interpret source documents and recognize date info there.

    Obviously the source HTML is generated dynamically. The web resource (JSP, PHP etc), which generates the HTML probably takes care about locale info comes with HTTP request.

    PD4ML does not send any locale info, so the page is generated with the locale defaults.

    P.S. Sorry for the delay with the reply.

    in reply to: images cache and evaluation copy sentence
    #27489

    1. The cache disabling is possible again since v351b14. Please give a try.

    2. JAR names of commercial and evaluation version differ: pd4ml.jar vs. pd4ml_demo.jar. Please make sure that you removed pd4ml_demo.jar from the classpath, shared lib directories and flushed any cached copies of it.

    in reply to: font-size=x-large
    #27548

    Yes, it is supported. But from CSS syntax perspective “font-size=x-large” is incorrect. It should use a colon symbol like that:

    Test

    Also please take into account: the resulting font size in PDF also depends on HTML-to-PDF scale factor. The scale factor is calculated this way:

    htmlToPdfScale = ( pageFormat.width – pageInsets.left – pageInsets.right ) / htmlWidth

    See:
    pd4ml-html-css-pdf-tips-tricks-f7/can-i-pre-define-font-sizes-in-resulting-pdf-documents-t19.html

    in reply to: disabling web links in pdf output
    in reply to: request sample code html to image in .NET
    #27496

    Currently it is not possible to do.

    We work on the feature to be also available in .NET version.

    in reply to: java.lang.StackOverflowError ( pd4ml )
    #27539

    It looks like there is a multi-repeating unclosed tag in your document. However I may be wrong with it.

    It would be very helpful if you send an email to PD4ML support with the document sample – hopefully there is no sensitive info in it.

    in reply to: Automatic kerning
    #27498

    For the time being PD4ML does not support the feature.

    There is a technical problem: for HTML layouting PD4ML needs to have a possibility to measure PDF string widths from Java. In regular mode it is easy to do – it is just a sum of string character widths. The character widths can be taken from TTF fonts metrics or from Acroread built-in fonts metrics (The acroread font metrics are hardcoded to PD4ML lib).

    If we rely to the autokerning feature of PDF format – we cannot get anymore the exact width of a particular string, until we re-implemented kerning algorithms of Acroread, for example. We did not address the issue yet.

    in reply to: image rotation
    #27492

    PD4ML does support the feature. However it is undocumented – we use it only in special applications.

    Please contact support by email for the details.

    in reply to: generated bookmarks not accessible with URL parameters
    #27538

    will work correctly in the final release of version 351

    in reply to: <pd4ml:transform outline="headings"> Example (?)
    #27537

    We’ve just cleaned up the outline generation code and now it works correctly in all modes. The fix will be available with v351b12 (or most probably we’ll skip b12 and publish it as the final release)

    in reply to: Is PD4ML can work with other PDF Conversion Software?
    #27541

    PD4ML deos not rely to any native components or shared resources, so I see no reason for the conflicts.

    If the document merging is the only need for the DLL, I would recommend to use open source iText Java library to process documents, generated by PD4ML.

    in reply to: <pd4ml:transform outline="headings"> Example (?)
    #27536

    I used your exact sample HTML code and got a result as expected (see attachment).

    I would suspect there are some unclosed <h2> tags in your original document.

    If the reason of the corrupted bookmarks structure is still not clear, please send to PD4ML support the document to analyze.

    in reply to: page-break-inside:avoid; on divs
    #27380

    No. page-break-inside:avoid currently works only for images, tables, table rows and some HTML form elements.

    in reply to: PDF rendition appears to not honor CSS
    #27487

    @dvanwest wrote:

    May I suggest that the javadocs include something that indicates which methods are active for the standard versus professional versions.

    PD4ML javadoc includes the info in method description details. Probably a separate document (a kind of PD4ML API method chart) with explicit Pro or Std marks is not a bad idea. I added the request to our TODO list.

    in reply to: PDF rendition appears to not honor CSS
    #27485

    FYI: addStyle() works only with PD4ML Pro binaries.

Viewing 15 posts - 1,351 through 1,365 (of 1,410 total)