Forum Replies Created
-
AuthorPosts
-
in reply to: Tomcat 10 Jakarta Multithread problem October 23, 2023 at 13:51#37329
Please, what should we do to get support? We purchased support to solve this problem, and we are almost reaching the end of the 3 months with no answer.
in reply to: Tomcat 10 Jakarta Multithread problem October 23, 2023 at 14:18#37330> Please, what should we do to get support? We purchased support to solve this problem, and we are almost reaching the end of the 3 months with no answer.
No worries .We will provide you with a working solution even if the maintenance period has expired. Sorry it takes some time.
Did you have a chance to test pd4ml-bin-4.0.17-jakarta-SNAPSHOT.zip from https://pd4ml.com/v4 ?
in reply to: License renewal – usage after maintenance time October 30, 2023 at 04:33in reply to: Technical questions / Troubleshooting October 31, 2023 at 09:53#37430Good morning,
We purchased pd4ml license in september 2023, two weeks ago we have released the function using it. Since then, several problems arised in our system. We investigated the problem deeply and introducing debug we discovered that pd4ml redirects System.err of JVM. We inroduced a workaround to avoid the problem but the solution is not optimal. As far as we know, this behavior is not documented and it caused several problems to our company in terms of time spended in discovering the problem. The problem is present even in the last version, 4.1.0-SNAPSHOT. Is it possible to fix the problem in order to avoid workaround which are not an optimal solution?
Best regards
in reply to: PD4ML redirects System.err October 31, 2023 at 13:03#37431Hi! Right, PD4ML redirects
System.err
, but only during particular single actions: by an internal AWT image creation and by parsing SVG and mathML – to suppress non-switchable warnings to avoid log file flooding.A redirecting of
System.err
is not a perfect idea as it impacts the entire JVM for very short time, but since we added the redirect long time ago there we no problem reports from our customers.It can be disabled by
-Dpd4ml.enable.stderr.redirects=false
command line parameter, passed to JVMin reply to: PD4ML redirects System.err October 31, 2023 at 16:41#37440Thank you very much for the fast reply and thanks for the suggestion.
We suggest you adding to the documentation this behavior and the solution.
Best regards.
in reply to: Technical questions / Troubleshooting November 1, 2023 at 11:59#37441We use a custom font and bolding stopped working when we updated to v3.11.5
Probably related to this change:Improvement revised conditions for emulating italics and bold in a case of unavailability of the necessary fonts
We use the Google font “Slabo 13px” which doesn’t have separate files for bold. Tried different ways like using css or b -tag but nothing worked. Italics works.
For example:
<html> <head> <meta charset="UTF-8"> </head> <style> body, th, td { font-family: 'Slabo 13px'; } </style> TEST<br> <div style="font-weight:bold !important"><b>TEST</b></div> <!-- no bolding --> </html>
And another change in this version is the case when there is a .ttf file, for example italics. Then it doubles the italic, so that the font gets “double slanted”. This can be worked around by just making a custom class with the correct font name, and not using <i> tag or italic style
<style> .bold-italic { font-family: "Poppins Bold Italic" } </style> <!-- do not use in span style tag font-weight: bold; font-style: italic; --> <span style="font-size:158%; color: #007140;" class="bold-italic">TEST</span><br />
in reply to: Does Pd4ml jar support JDK 17 and JDK 21 November 3, 2023 at 21:09#37448Any updates on this ?
in reply to: Input text and font-family November 8, 2023 at 18:37#37454Good afternoon, do you have any news about when this case can be resolved? We have a pending project related to this, and we are very interested in knowing how it is progressing. Thank you.
in reply to: Input text and font-family November 14, 2023 at 15:35#37488Unfortunately the task still has “In progress” status. Till end of the week we’ll make a decision regarding new maintenance build release and features/bugfixes it includes. Hopefully this issue will be in the list. We’ll let you know
in reply to: relative URL to a servlet in the “img”-tag throws a MalformedURLException November 14, 2023 at 19:02#37501The libraries from common lib/ and WEB-INF/lib/ are loaded by different classloaders. Libraries loaded from common lib/ may not see local web application resources.
in reply to: Technical questions / Troubleshooting November 27, 2023 at 04:49#37525Hi,
I’m using pd4ml 4.0, and some css in html template like bellow:
<style type=”text/css”>
<!–
.title
{
font-weight:700;
font-size:18pt;
font-family:”Microsoft YaHei UI”,sans-serif;
color:black;
}
.title1
{
font-weight:700;
font-size:16pt;
font-family:”Microsoft YaHei UI”,sans-serif;
color:black;
}
.title2
{
font-weight:700;
font-size:14pt;
font-family:”Microsoft YaHei UI”,sans-serif;
color:black;
}.title3
{
font-weight:700;
font-size:10pt;
font-family:”Microsoft YaHei UI”,sans-serif;
color:black;
}.title4
{
font-weight:400;
font-size:10pt;
font-family:”Microsoft YaHei UI”,sans-serif;
color:black;
}
.STYLE1 {
font-weight:700;
font-size:15pt;
font-family:”Microsoft YaHei UI”,sans-serif;
color:black;
}
–>
</style><tr>
<td>
<table width=”100%” style=”border-style:solid;border-color:black;border-width:2px;”>
<tr>
<td width=”100%”>Payroll Advice</td>
</tr>
</table>
</td>
</tr>
<tr style=”height:5px;”>
<td> </td>
</tr>
<tr>
<td>
<table width=”100%” style=”border-style:solid;border-color:black;border-width:2px;”>
<tr>
<td width=”69%” style=”border-style:solid;border-color:black;border-width:2px;”>${COMPANY_NAME}</td>
<td> </td>
<td width=”30%” style=”border-style:solid;border-color:black;border-width:2px;”></td>
</tr>
</table>
</td>
</tr>css tiltle works fine, but title1 does not work.
Please see the screenshot. Looks like the font show correctly in webpage, but not good in pdf.
Attachments:
You must be logged in to view attached files.in reply to: Does Pd4ml jar support JDK 17 and JDK 21 December 16, 2023 at 17:50#37584Is this supported? I am trying to update an app to the latest JDK
in reply to: Jakarta Version of PD4ML v4.0.17 December 16, 2023 at 18:21#37585This may be something I overlooked, I am getting this error on a Java 20, Tomcat 10.1 server when trying to open a jsp that uses the pd4ml tag library. Any ideas:
Servlet.service() for servlet [jsp] threw exception
java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupportin reply to: Licensing / Purchasing of PD4ML December 20, 2023 at 12:57#37609Hi,
I work at a company called Scout24 (https://www.immobilienscout24.de/) and we use the PDF4ML Java license, however this was used by a different team and handed over to my team this year and I don’t know what was the account used to buy this nor the current version that we have. How can I figure that out?Thanks in advance,
Luccas -
AuthorPosts