Forum Replies Created

Viewing 15 posts - 616 through 630 (of 1,410 total)
  • Author
    Posts
  • in reply to: permgen leak
    #29075

    Hmm… In PD4ML sources there is no explicit references to java.awt.MediaTracker.

    In PD4ML images are loaded from input stream to a byte array. After an image type analyze, in most of the cases it creates Image instance with

    Image img = new ImageIcon(idata).getImage();

    As I see, the call implicitly involves the media tracker. However it is not obvious how to unregister the image out of there.

    -Dpd4ml.cache.images.in.tmp.dir=true JVM flag (or an identical dynamic parameter, passed via API) forces PD4ML to immediately dump loaded image bytes to a TMP file and to set the above img = null. Now I am not sure if that is enough, bearing in mind the media tracker. Do you have an idea what needs to be done there?

    in reply to: Simple text wrapping
    #28864

    PD4ML does not support <nobr> tag. And as I see the unsupported tag screens nowrap attribute, applied to a table cell.

    A current workaround is to remove <nobr> and to define nowrap for <td>

    in reply to: PD4ML Probe
    #27495

    Try to login and get the installer from the software download area. Obviously the direct link is broken

    in reply to: PD4ML Probe
    #27493

    The error is caused when you are attempting to start Eclipse using the wrong version of the Java Virtual Machine (JVM)

    If you run 64bit Java, launcher plugin is expected to be

    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502

    The error dialog looks like you installed 32bit version of PD4ML probe.

    I would recommend to reinstall the application from Pd4mlProbeInstaller64.exe

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

    It does not work with <div> and

    in reply to: Spaces being stripped in final PDF
    #28988

    v380fx6 solves the problem

    in reply to: Some image not loading when converting to PDF
    #29068

    As we learned the problem is most probably caused by HTTP 302 redirects – our HTML renderer does not implement any code to follow them.

    PD4ML uses a very standard approach with URLConnection to load URL resources. If Java runtime implicitly follows 302 redirects – PD4ML also supports it.

    in reply to: unix : fonts deployment ?
    #28406

    Please post your pd4fonts.properties file and debug output.

    in reply to: Simple text wrapping
    #28862

    Just released maintenance version v380fx6 addresses the issue. Please give it a try.

    in reply to: HTML entities in struts tags
    #29059

    Glad you found a solution and thank you for sharing it!

    in reply to: Some image not loading when converting to PDF
    #29061

    I guess (but not 100% sure right now) %2F and %3D codes are auto-replaced with corresponding characters ‘/’ and ‘=’. Would the replacement break the image link?

    And redirects are not supported by PD4ML.

    Could you please publish an HTML snippet to simplify testing from our side. And please let us know PD4ML version you currently use.

    #29056

    You are faced with a limitation of header/footer API of PD4ML. If you need different header or footer heights depending on page, you have to use inline definitions and

    See https://pd4ml.com/cookbook/pdf_header_footer_generation.htm

    in reply to: PDF page headers/footers definition options
    #27275

    replace areaHeight=”100″ with height=”100″ – it should help if you use PD4ML Pro (not Std)

    in reply to: Anybody had problems with PD4ML on Lion for Mac?
    #28973

    Hmm… The exception is expected, but unfortunately does not explain a lot. At least pd4ml.jar and the main CSS parser classes does not clash with Tomcat stuff.

    Well, would it be possible for you to return back the original ss_css2.jar, pack the entire Tomcat directory structure (with previously removed sensitive stuff) including the problematic webapp and send it to us? We’ll try to run your environment on our workstation.

    in reply to: TTF embedding
    #27303

    The fonts are taken from a Win32 distribution and published for educational purposes only. If you own a Windows license, obviously you are allowed to use the fonts in your commercial applications. https://pd4ml.com/examples.zip (chinese_ttf example) provides you with fonts.jar build-script to build the JAR from your very own TTF copies.

Viewing 15 posts - 616 through 630 (of 1,410 total)