Forum Replies Created
-
AuthorPosts
-
in reply to: 9 CSS hack in stylesheet – entire stylesheet ignored January 28, 2013 at 17:14#29193
The CSS hack problem can be solved in a third-party open-source library “CSS Parser project”, PD4ML relies on. I took quick a look on it – it is quite simply to suppress the exception, but a correct processing of “0px9” syntax would require to update JavaCC CSS grammar, which is relatively tricky.
JavaCC code edits have another drawback: by .NET port of it we would need to convert not JavaCC src, but semi-readable auto-generated Java code. So we implement patches to ss_ccs2.jar unwillingly.
in reply to: Lotus Notes – Embedded Views? January 28, 2013 at 16:32#29198Please send us a DXL sample of a document with an embedded view – we’ll see if there is a view data can be converted to PDF.
in reply to: TTF embedding January 28, 2013 at 16:06#27307Here are good starting points:
https://pd4ml.com/reference.htm#7.1
https://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htmin reply to: td border is not displayed. January 28, 2013 at 16:03#29200Try to add some content to the row cell:
<tr valign="top"> <td style="width: 25pt; height: 1pt;"></td> <td colspan="38" style="border-top-style: solid; border-top-width: 1pt; border-top-color: #000000;"><font style="font-size: 2px"> </font></td> <td colspan="5" style="width: 70pt; height: 1pt;"></td> </tr>
Otherwise it optimises the table and ignores rows with no content.
in reply to: Page break is inserted on TR with empty TD December 19, 2012 at 12:31#29180> I noticed that PD4ML pastes page breaks when such component is occurred.
No, it is not quite correct. PD4ML forces a page break, when TR { page-break-inside: avoid } is set, and a subsequent TR content does not fit remaining page space.
pd4ml-page-break-border-* properties currently are not useful, as the current table break logic deals correctly with borders in most of the cases.
> How can it be fixed without changing the legacy code?
I hope an HTML sample would help us to correctly understand the problem you faced with. Please publish it here or send it to support pd4ml comin reply to: TTF embedding December 17, 2012 at 13:54#27305Please try to substitute your fonts jar with this one:
https://pd4ml.com/i/allfonts.zip (34 MB!)unpack it and place fonts.jar to the classpath of your application (or to lib/ folder if any).
Refer the fonts this way:
pd4ml.useTTF("java:fonts", true);And make sure the HTML has a correct meta charset directive.
Does it solve the problem?
in reply to: Google Web Fonts December 14, 2012 at 17:52#29179Unfortunately PD4ML does not support Google Web Fonts (in WOFF file format) for the time being.
in reply to: Question about PDF/A type generation December 11, 2012 at 23:25#29175Forthcoming PD4ML version will suppress image transparency mask (if any) in PDF/A output mode.
in reply to: Footer issue in latest pro version (380fx9 Pro) December 11, 2012 at 21:55#29176We fixed the problem in the dev build. An updated beta version is going to be available for download in few days.
in reply to: Footer cannot be rendered in PDF with version 380fx8/380fx9 December 10, 2012 at 18:29#29178I’ve just sent you a build, which should fix the problem.
There is always an alternative way to define headers/footer in PD4ML. See https://pd4ml.com/cookbook/pdf_header_footer_generation.htm (Type #3)
in reply to: Problem with P tag containing attribute text-align: justify December 7, 2012 at 14:18#29146Which version do you currently use?
Please publish (or send to the support) the document source and its resulting PDF.
in reply to: Footer at bottom of last page December 6, 2012 at 15:28#29170A solution will be available with the forthcoming beta release.
in reply to: Question about PDF/A type generation December 6, 2012 at 15:09#29174I inspected pdf.zip content and analysed recipe.pdf from it.
The PDF has been generated with PD4ML version: 380fx3 Pro (not DMS), so it ignores enablePdfa() API call. Please check if it your application uses an older cached pd4ml.jar instance.
Also PDF/A file spec prohibits image transparency, which makes transparent/translucent watermarking not allowed.
in reply to: Question about PDF/A type generation December 5, 2012 at 13:05#291711. Yes, PDF/A spec does not allow any security settings applied.
2. It would help a lot if you publish an HTML code sample, which illustrates the problem, all relevant resources (images, CSS) and a resulting PDF.
in reply to: sup and sub HTML Tag support? December 2, 2012 at 12:22#29135In the versions prior to v3.8.0fx8 an appearance of superscript text impacted the line height (and a gap between lines). Now the problem is solved, but you faced with a drawback of the solution.
It can be worked around either by explicit setting of line height to a greater value (overriding the default line-height: 1.2) or by a decreasing of the superscript font size:
pd4ml-footnote { font-size: 80% }You may add the style to the document itself or with pd4ml.addStyle() API call.
-
AuthorPosts
