Forum Replies Created

Viewing 15 posts - 151 through 165 (of 1,410 total)
  • Author
    Posts
  • in reply to: can not load image error when converting from html to pdf
    #29903

    It is not a 100% proof of problem-less network routing if it works from a web browser: the browser may be configured to access URLs via corporate proxy.

    in reply to: Local converter 398 fx4/fx5 crash with a NPE
    #29885

    I looked through PD4ML sources once more… It seems it crashes by an attempt to determine PDF viewer location. Did it generate already pd4browser.properties file? If so, open it in in a text editor and check what is assigned to

    viewer.executeble
    viewer.rtf.executeble

    Try to replace the values with Acroread and Wordpad/MS Word executable locations.

    in reply to: TTF embedding
    in reply to: Custom Fonts
    #27414

    A usual reason, that it does not generate pd4fonts.properties is insufficient permissions.

    For example the command has to index all system font and to generate c:/windows/fonts/pd4fonts.properties :

    java -jar pd4ml.jar -configure.fonts c:/windows/fonts

    but it does not, as by default (in modern Win versions) it has no permissions to write to c:/windows/fonts

    A solution is to generate the properties file somewhere else:

    java -jar pd4ml.jar -configure.fonts c:/windows/fonts c:/workspace/fontmap/

    The second parameter defined a destination folder or new file name for generated pd4fonts.properties. The .properties will refer to c:/windows/fonts as the actual TTF location.

    In your application pass “c:/workspace/fontmap/” as useTTF() parameter.

    in reply to: Validation of HTML CSS styles
    #29848

    We could add the reporting only to the forthcoming v4.0 or PD4ML (not expected before October-November 2016).

    We do not plan to extend the current PD4ML v3.9.9 with new features. However we could add a prefix to all CSS diagnostics messages, so you’ll have a possibility to filter them from PD4ML’s output and show it to users if needed.

    #29913

    w3wp.exe does not belong to PD4ML – please contact its authors.

    Please note – PD4ML is thread-safe but not re-enterrant. That means you cannot access the same PD4ML instance from multiple threads at the same time. Create an instance for each HTML->PDF conversion request.

    in reply to: PD4ML NOT SUPPORTING THAI AND OTHER Indian languages
    #29895

    > it generates, “ನೀವೕ ಹೇಗಿದೕದೀರಿ”

    Usually that type of visual garbage is caused by an attempt to render UTF-8 document (2 bytes per CJK glyph) with a wrongly applied (default?) single byte encoding i.e. ISO 8859-1.

    Try to explicitly define UTF-8 in the document <meta> or pass the default encoding via JVM command-line params -Dfile.encoding=UTF-8

    in reply to: Issue with numbered lines: unwanted bold
    #29900

    Could you please publish or send to support pd4ml com an HTML sample and its PDF output, which illustrates the issue?

    in reply to: can not load image error when converting from html to pdf
    #29901

    From the diagnostics it follows, that PD4ML cannot load the image.

    errno: 111 (Connection refused), error: Connection refused (local port 50735 to address 0:0:0:0:0:0:0:0, remote port 80 to address 74.208.20.166): http://www.daycomsolutions.com/Support/ ... 050w50.JPG (socket timeout 0ms)

    Probably your workstation (where PD4ML runs) has no route to the server or there are other network/firewall configuration troubles.

    I would recommend either to investigate the network issue or just for the test purposes to refer to an image, available in your intranet.

    #29914

    Try to open the PDF in a text editor (as plain text). I suspect the file either 0 bytes long or has only PDF file prefix.

    org.zefer.html.doc.css.CssRuntime init error is obviously a reason. For some reason it cannot locate all needed libraries (.DLLs in a case of .NET).

    in reply to: Error: Can not open pdf files in adobe reader
    #29879

    I am afraid we cannot help you with the issue analyze, based on that limited information.

    Probably there are PDF viewer application, which cannot open already opened PDFs. Acroread usually locks an opened PDF file for overwriting/modifying. But as a rule it does not block a reading by other processes.

    in reply to: Local converter 398 fx4/fx5 crash with a NPE
    #29883

    Obviously it crashes by an attempt to create a java.io.File object, whose name is prefixed by “$$$”. It is an issue of JDK1.8 as PD4ML passes a file name to the constructor “as is”.

    Is it really that necessary to name a folder using ‘$’ chars?

    in reply to: Zero Width Space (U+200B) in Java 8
    #29838

    The issue has been fixed in the DEV build. An update to be published this week.

    #29867

    ‘Inherit Zoom’ will be supported from v398fx6

    in reply to: Error generating PDF with Java 1.7
    #29871

    Usually it is a usual issue on UNIX/Linux environments. In order to solve it you need to run your application with -Djava.awt.headless=true JVM command line parameter.

    I wonder how you achieved it on Win7…

Viewing 15 posts - 151 through 165 (of 1,410 total)