Forum Replies Created
-
AuthorPosts
-
in reply to: not working internal hyperlinks in RTF export November 16, 2018 at 16:02#30167
The issue has been fixed in forthcoming v3.10.8. The feature always works correctly in PD4ML v4 snapshots
in reply to: Bullets not aligned RTL for arabic HTML to RTF November 16, 2018 at 13:51in reply to: Bullets not aligned RTL for arabic HTML to RTF November 16, 2018 at 13:50#30168We’ll address the issue in the forthcoming v3.10.8.
A workaround for the current version:
<body dir="rtl"> <ul style="padding-right: 30px"> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> <ol style="padding-right: 30px"> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ol> </body>
As the style impacts a rendering of the doc by the browsers, you may apply it only in PD4ML context:
@media pdf { OL, UL { padding-right: 30px; } }in reply to: font-size rem (root em) November 16, 2018 at 13:32#30157A proper implementation of “rem” is already available in PD4ML v4 snapshots.
Forthcoming PD4ML v3.10.8 does not ignore “rem” anymore, but handles “rem” sizes as “em”, which is not correct, but acceptable workaround in most of the cases.
in reply to: java 10 error November 16, 2018 at 12:07#30138PD4ML v3.10.7 addresses the issue. Did you try it out?
in reply to: Hanging Threads! October 8, 2018 at 19:03#30160It seems it hangs by an attempt to read cookie data from HTTPS response header. Not that easy to debug…
As a general recommendation limit the timeout for the network operations:
HashMap map = new HashMap(); map.put(PD4Constants.PD4ML_SOCKET_TIMEOUT , "60000"); // in ms pd4ml.setDynamicParams(map);
That should help to avoid the running out of threads. But it does not address the problem reason.
The best workaround would be to avoid HTTPS protocol by the local data exchange at all. A reference like <a src=”/images/logo.png”> is more preferable than <a src=”https://myserver/images/logo.png”>
Please take into account, the link like <a src=”https://myserver/images/logo.png”> can be built implicitly from <a src=”/images/logo.png”> and <base href=”https://myserver/”>. In the case an overriding of the base with PD4ML API call parameters should help.
If the HTTPS is a must, you have to investigate the network issue reason… We need some more input
in reply to: Hanging Threads! October 8, 2018 at 15:18#30158Hmm… First, PD4ML does not start new threads – so the hundreds of hanging thread should match a number of conversion requests.
As I see from the stack trace, it hangs on a network operation – it is difficult to say why it cannot read data from a socket. Did you check logs on the remote side, where it tries to read the data by HTTPS from?
in reply to: erro ao gerar pdf pelo JAVA September 12, 2018 at 19:18#30152Could you also publish initialization of isr and fos (it is not clear what is behind them) as well as full exception stack trace?
in reply to: Inline list elements (li) not supported? September 12, 2018 at 19:09#30144Or go PD4ML v4: https://github.com/zxfr/pd4ml-examples
in reply to: PD4ML NOT SUPPORTING THAI AND OTHER Indian languages August 22, 2018 at 11:44#29897Try to switch debug on (pd4ml.enableDebugInfo()) and compare debug output for v3.7 and v3.10. It should list TTF fonts it loads. I assume you evaluate Pro version of PD4ML v3.10 as PD4ML Std is not capable to use TTFs and to render international scripts.
in reply to: Inline list elements (li) not supported? July 16, 2018 at 10:53#30141The feature is not supported due to legacy architecture restrictions of v1.x-v3.x
Pre-release PD4ML v4 already supports the horizontal list representation, but as I see the spacing between list items is not quite correct.
You can give it a try:
https://github.com/zxfr/pd4ml-examplesin reply to: nth-child(odd) and background: not rendering properly May 16, 2018 at 12:56#30135Hmm… v396 is based on old limited CSS runtime, v3106 uses an improved CSS cascading engine. We’ll address the issue this week. Probably we’ll request you for some additional information.
in reply to: Word break with hyphen (-) March 12, 2018 at 12:24#30132I am afraid for the current version v3.10.x the only workaround is to mark preferable places for a wordbreak with entity.
in reply to: Embedded SVG-Images cause issues for following content February 27, 2018 at 15:50#30131The issue has been already fixed in the DEV build.
Please contact support pd4ml com if you would like to test.
in reply to: Embedded SVG-Images cause issues for following content February 22, 2018 at 10:22#30129PD4ML implements SVG support with some limitations. However your sample seems to be quite basic. We’ll address the issue this week.
-
AuthorPosts
