Forum Replies Created
-
AuthorPosts
-
in reply to: Bullets not aligned RTL for arabic HTML to RTF April 11, 2019 at 12:24#30172
I am using v3.10.9 of PD4ML, but I still do not see the bullet issue resolved for RTL.
I tried using the solution you provided, but that also does not work.
Even the text is not right aligned for Arabic content.
Does PD4ML support Arabic RTL format when converting HTML to PDF.in reply to: pd4ml transform tag renders weird characters April 19, 2019 at 17:57#30032thanks for tips
in reply to: Bullets not aligned RTL for arabic HTML to RTF April 26, 2019 at 11:50#30169Informative thread..!!!
in reply to: Bullets not aligned RTL for arabic HTML to RTF April 26, 2019 at 12:49#30170RTF list bullets issue has been solved in the forthcoming v3.10.9fx3 and v4.0.3
in reply to: Bullets not aligned RTL for arabic HTML to RTF May 6, 2019 at 12:52#30171Are these versions v3.10.9fx3 and v4.0.3 available for download and also do you have some sample code that does HTML to RTF conversion for RTL documents. The example code and the latest PD4ML version that resolves the bullet issue will be great help. We need to implement this feature urgently, therefore PD4ML team support will be a big help.
Thanks
in reply to: Bullets not aligned RTL for arabic HTML to RTF May 6, 2019 at 13:09#30173Both versions a planned to be published today.
PD4ML v4 snapshot (with the feature implemented) is available for download from https://pd4ml.tech/v4/
PD4ML v4 usage examples: https://github.com/zxfr/pd4ml-examplesin reply to: HTML/CSS rendering issues May 21, 2019 at 11:08#27217When we have underline tag at the page break ,then extra line is coming on top of the page. when font size in more that 14 px.
Sample markup
have 2 pages worth of contentin reply to: Inline list elements (li) not supported? May 22, 2019 at 09:37#30145Thanks for information related to web development
in reply to: HTML/CSS rendering issues May 28, 2019 at 14:07#27214Hi,
I am trying to render an SVG to PDF, however the textPath is not coming out as expected….it seems that textPath is not linking to the path element like it should and thus the text is not coming out at the correct angle
any help much apprectiated
in reply to: SVG textpath not rendering correctly May 28, 2019 at 14:42#30207PD4ML v3 includes our simple SVG renderer, which unfortunately does not support text paths.
PD4ML v4 allows to replace our custom SVG renderer with Batik component. As Batik is very strict to SVG syntax, I had to modify the SVG code to
[language=html:x4tl8dd5][/language:x4tl8dd5]
After that it successfully produced the attached PDF
in reply to: HTML/CSS rendering issues May 30, 2019 at 15:47#27215I’ve been reviewing the documentation for 508/UA compliance. I’m using PD4ML 4.0.3 and I see PD4ML.setAuthorName and PD4ML.setDocumentTitle. I don’t see support for Subject, Language and Keywords. PD4ML.addMetadata is documented not to support changing standard property names. So how to I change these standard property names?
Best,
Clifton Sothoronin reply to: PDF 508 compliance May 30, 2019 at 17:37#30208PD4ML v3 inherits the data from HTML meta info, like
[language=xml:1dtt3lac]
[/language:1dtt3lac]In PD4ML v4 the feature is in TODO list, but can be added quite swifty by request.
There is also a possibility to post-process generated PDF with the API calls:
[language=Java:1dtt3lac]PdfDocument doc2 = new PdfDocument(new URL(“file:o:/work/pdf/doc2.pdf”), null);
doc2.setAuthor(“Author 1”);
doc2.setCreator(“Creator 1”);
doc2.setTitle(“Title 1”);
doc2.setSubject(“Subject 1”);
doc2.setKeywords(“Keywords 1”);
… and save the doc after the changes …[/language:1dtt3lac]in reply to: Getting underline on top of the page June 3, 2019 at 16:03#30213The issue should be fixed in the recent maintenance builds.
in reply to: HTML/CSS rendering issues June 18, 2019 at 13:56#27216Hi there,
We’re currently using PD4ML v4, and are having a little trouble getting Batik working as an external renderer in Java. On the GitHub page it states “PD4ML provides a way to plug Batik, JEuclid or another library and to associate it with a particular or custom tag (<svg>, <math>, <etc>)”.
What are the steps required to “plug Batik” into PD4ML? We have the PD4ML v4 library and the Batik library on our classpath. As far as I can see, the only Batik related class in PD4ML is BatikSvgCustomTag, so I’m assuming that it has something to do with that, unless I’m missing something obvious.
Kind regards
- This topic was modified 5 years, 4 months ago by PD4ML.
in reply to: Batik implementation June 19, 2019 at 10:18#30209Batik requires quite a lot of third-party components to run. Probably some of them are missing in your environment.
In Maven-driven projects it is sufficient just to add
[language=xml:2pnm7b2i]
org.apache.xmlgraphics
batik-all
1.9.1
pom
[/language:2pnm7b2i]
net.sourceforge.jeuclid
jeuclid-mathviewer
3.1.9
I’ve also shown JEuclid MathML dependency above for a case you (or someone else) need to have them both. JEuclid also pulls a lot of additional components and some of them conflict with Batik dependencies. The above version combination is safe and works fine.
-
AuthorPosts