Forum Replies Created
-
AuthorPosts
-
in reply to: permgen leak July 31, 2012 at 14:58#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 July 27, 2012 at 11:50#28864PD4ML 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 July 25, 2012 at 07:19#27495Try to login and get the installer from the software download area. Obviously the direct link is broken
in reply to: PD4ML Probe July 24, 2012 at 10:32#27493The 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 July 20, 2012 at 15:57#27382It does not work with
<div>andin reply to: Spaces being stripped in final PDF July 20, 2012 at 15:47#28988v380fx6 solves the problem
in reply to: Some image not loading when converting to PDF July 20, 2012 at 15:30#29068As 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 ? July 20, 2012 at 10:31#28406Please post your pd4fonts.properties file and debug output.
in reply to: Simple text wrapping July 18, 2012 at 11:38#28862Just released maintenance version v380fx6 addresses the issue. Please give it a try.
in reply to: HTML entities in struts tags July 10, 2012 at 16:49#29059Glad you found a solution and thank you for sharing it!
in reply to: Some image not loading when converting to PDF July 10, 2012 at 16:48#29061I 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.
in reply to: PD4PageMark and header/footer height for different pages July 4, 2012 at 15:40#29056You 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 July 4, 2012 at 15:36#27275replace 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? July 4, 2012 at 11:58#28973Hmm… 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 July 2, 2012 at 13:14#27303The 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.
-
AuthorPosts
